Commit ccdea8b8 authored by randx's avatar randx

Fix dashboard random test fail

parent 8e3a2def
...@@ -93,11 +93,11 @@ end ...@@ -93,11 +93,11 @@ end
Given /^I have assigned issues$/ do Given /^I have assigned issues$/ do
project1 = Factory :project, project1 = Factory :project,
:path => "project1", :path => "project1",
:code => "TEST1" :code => "gitlabhq_1"
project2 = Factory :project, project2 = Factory :project,
:path => "project2", :path => "project2",
:code => "TEST2" :code => "gitlabhq_2"
project1.add_access(@user, :read, :write) project1.add_access(@user, :read, :write)
project2.add_access(@user, :read, :write) project2.add_access(@user, :read, :write)
...@@ -116,11 +116,11 @@ end ...@@ -116,11 +116,11 @@ end
Given /^I have authored merge requests$/ do Given /^I have authored merge requests$/ do
project1 = Factory :project, project1 = Factory :project,
:path => "project1", :path => "project1",
:code => "TEST1" :code => "gitlabhq_1"
project2 = Factory :project, project2 = Factory :project,
:path => "project2", :path => "project2",
:code => "TEST2" :code => "gitlabhq_2"
project1.add_access(@user, :read, :write) project1.add_access(@user, :read, :write)
project2.add_access(@user, :read, :write) project2.add_access(@user, :read, :write)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment