Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-06-20 14:29:17 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-06-20 14:29:17 +0400
commit2864aca48c11d4f50471b988d9f11fec7b8f825b (patch)
treeef9d644f47af39291697b6b1b8be9145746a6198 /features/steps/admin
parentf47ba909a29f70d59180a373b9a89dd8935fd455 (diff)
Fix admin:groups test
Diffstat (limited to 'features/steps/admin')
-rw-r--r--features/steps/admin/admin_groups.rb7
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