Trying to get rid of random dashboard/issues cucumber fail
This commit is contained in:
parent
b962bcd4a7
commit
4381084af3
1 changed files with 4 additions and 12 deletions
|
@ -91,26 +91,18 @@ Then /^I should see my merge requests$/ do
|
||||||
end
|
end
|
||||||
|
|
||||||
Given /^I have assigned issues$/ do
|
Given /^I have assigned issues$/ do
|
||||||
project1 = Factory :project,
|
project = Factory :project
|
||||||
:path => "project1",
|
project.add_access(@user, :read, :write)
|
||||||
:code => "gitlabhq_1"
|
|
||||||
|
|
||||||
project2 = Factory :project,
|
|
||||||
:path => "project2",
|
|
||||||
:code => "gitlabhq_2"
|
|
||||||
|
|
||||||
project1.add_access(@user, :read, :write)
|
|
||||||
project2.add_access(@user, :read, :write)
|
|
||||||
|
|
||||||
issue1 = Factory :issue,
|
issue1 = Factory :issue,
|
||||||
:author => @user,
|
:author => @user,
|
||||||
:assignee => @user,
|
:assignee => @user,
|
||||||
:project => project1
|
:project => project
|
||||||
|
|
||||||
issue2 = Factory :issue,
|
issue2 = Factory :issue,
|
||||||
:author => @user,
|
:author => @user,
|
||||||
:assignee => @user,
|
:assignee => @user,
|
||||||
:project => project2
|
:project => project
|
||||||
end
|
end
|
||||||
|
|
||||||
Given /^I have authored merge requests$/ do
|
Given /^I have authored merge requests$/ do
|
||||||
|
|
Loading…
Reference in a new issue