diff options
author | Phil Hughes <me@iamphill.com> | 2016-09-02 15:44:46 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-09-13 08:44:59 +0100 |
commit | 638376c35494860936bf2858c01115dc4afe0bfe (patch) | |
tree | 90270ea9ad499a8e6e7036842aefcf10f5695eac | |
parent | 2c3fa33ca2e75792d1027eb73e2f69fed67bc435 (diff) | |
download | gitlab-ce-638376c35494860936bf2858c01115dc4afe0bfe.tar.gz |
Fixed group tests
-rw-r--r-- | features/steps/admin/groups.rb | 2 | ||||
-rw-r--r-- | features/steps/group/members.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/features/steps/admin/groups.rb b/features/steps/admin/groups.rb index 0c89a3db9ad..9396a76f0a2 100644 --- a/features/steps/admin/groups.rb +++ b/features/steps/admin/groups.rb @@ -105,7 +105,7 @@ class Spinach::Features::AdminGroups < Spinach::FeatureSteps select "Developer", from: "access_level" end - click_button "Add users to group" + click_button "Add to group" end step 'I should see current user as "Developer"' do diff --git a/features/steps/group/members.rb b/features/steps/group/members.rb index e54add1d568..cefc55d07ab 100644 --- a/features/steps/group/members.rb +++ b/features/steps/group/members.rb @@ -109,7 +109,7 @@ class Spinach::Features::GroupMembers < Spinach::FeatureSteps step 'I search for \'Mary\' member' do page.within '.member-search-form' do fill_in 'search', with: 'Mary' - click_button 'Search' + find('.member-search-btn').click end end |