Fix spinach tests

5-0-stable
Dmitriy Zaporozhets 2013-03-14 17:13:00 +02:00
parent da3bc14d80
commit d2b882fae5
1 changed files with 3 additions and 3 deletions

View File

@ -73,9 +73,9 @@ class Userteams < Spinach::FeatureSteps
end
Then 'I should see projects list' do
page.should have_css(".projects_box")
projects_box = find(".projects_box")
projects_box.should have_content(@project.name)
within(".side .ui-box") do
page.should have_content(@project.name)
end
end
And 'project from team has issues assigned to me' do