From: Dmitriy Zaporozhets Date: Thu, 14 Mar 2013 15:13:00 +0000 (+0200) Subject: Fix spinach tests X-Git-Tag: v5.0.0~70 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=d2b882fae5dcb9d4072cff9f1d271d378def26c2;p=wvm%2Fgitlab.git Fix spinach tests --- diff --git a/features/steps/userteams/userteams.rb b/features/steps/userteams/userteams.rb index 5835deb25..11a66b664 100644 --- a/features/steps/userteams/userteams.rb +++ b/features/steps/userteams/userteams.rb @@ -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