Fix dashboard random test fail
This commit is contained in:
parent
8e3a2def8a
commit
ccdea8b80d
|
@ -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
|
||||||
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)
|
||||||
|
|
Loading…
Reference in a new issue