diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-06-20 13:29:17 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-06-20 13:29:17 +0300 |
commit | 2864aca48c11d4f50471b988d9f11fec7b8f825b (patch) | |
tree | ef9d644f47af39291697b6b1b8be9145746a6198 /features/steps/admin | |
parent | f47ba909a29f70d59180a373b9a89dd8935fd455 (diff) | |
download | gitlab-ce-2864aca48c11d4f50471b988d9f11fec7b8f825b.tar.gz |
Fix admin:groups test
Diffstat (limited to 'features/steps/admin')
-rw-r--r-- | features/steps/admin/admin_groups.rb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/features/steps/admin/admin_groups.rb b/features/steps/admin/admin_groups.rb index 2f98b8100dc..c463d379d78 100644 --- a/features/steps/admin/admin_groups.rb +++ b/features/steps/admin/admin_groups.rb @@ -43,13 +43,16 @@ class AdminGroups < Spinach::FeatureSteps user = User.find_by_name("John") select2(user.id, from: "#user_ids", multiple: true) within "#new_team_member" do - select "Reporter", from: "project_access" + select "Reporter", from: "group_access" end click_button "Add users into group" end Then 'I should see "John" in team list in every project as "Reporter"' do - user = User.find_by_name("John") + within ".group-users-list" do + page.should have_content "John" + page.should have_content "Reporter" + end end protected |