Commit d2b882fae5dcb9d4072cff9f1d271d378def26c2

Authored by Dmitriy Zaporozhets
1 parent da3bc14d

Fix spinach tests

Showing 1 changed file with 3 additions and 3 deletions   Show diff stats
features/steps/userteams/userteams.rb
... ... @@ -73,9 +73,9 @@ class Userteams < Spinach::FeatureSteps
73 73 end
74 74  
75 75 Then 'I should see projects list' do
76   - page.should have_css(".projects_box")
77   - projects_box = find(".projects_box")
78   - projects_box.should have_content(@project.name)
  76 + within(".side .ui-box") do
  77 + page.should have_content(@project.name)
  78 + end
79 79 end
80 80  
81 81 And 'project from team has issues assigned to me' do
... ...