Commit 4381084a authored by randx's avatar randx

Trying to get rid of random dashboard/issues cucumber fail

parent b962bcd4
...@@ -91,26 +91,18 @@ Then /^I should see my merge requests$/ do ...@@ -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
......
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