Commit d2b882fa authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix spinach tests

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