From d2b882fae5dcb9d4072cff9f1d271d378def26c2 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Thu, 14 Mar 2013 17:13:00 +0200 Subject: [PATCH] Fix spinach tests --- features/steps/userteams/userteams.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/features/steps/userteams/userteams.rb b/features/steps/userteams/userteams.rb index 5835deb25a5..11a66b6646f 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