summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-03-14 17:13:00 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-03-14 17:13:00 +0200
commitd2b882fae5dcb9d4072cff9f1d271d378def26c2 (patch)
tree5d90307049e04056694bcb059cbb0277f7090d94 /features
parentda3bc14d80ebcd14b89771d7a30cbc6f4d3abbf6 (diff)
downloadgitlab-ce-d2b882fae5dcb9d4072cff9f1d271d378def26c2.tar.gz
Fix spinach tests
Diffstat (limited to 'features')
-rw-r--r--features/steps/userteams/userteams.rb6
1 files 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