diff options
author | Phil Hughes <me@iamphill.com> | 2016-12-09 14:35:15 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-12-09 19:39:00 +0300 |
commit | fcf332a4fa544d4a5eba200878a7b9298e5b6f6b (patch) | |
tree | df7a7197b159267e88e67caf727ca723a293fcab /spec/features/projects/members | |
parent | 1637ce4e6a64c154eca93444f6a62664f4e78e7a (diff) |
Group links spec update
Diffstat (limited to 'spec/features/projects/members')
-rw-r--r-- | spec/features/projects/members/group_links_spec.rb | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/spec/features/projects/members/group_links_spec.rb b/spec/features/projects/members/group_links_spec.rb index cc2f695211c..94995f7cf95 100644 --- a/spec/features/projects/members/group_links_spec.rb +++ b/spec/features/projects/members/group_links_spec.rb @@ -16,12 +16,17 @@ feature 'Projects > Members > Anonymous user sees members', feature: true, js: t end it 'updates group access level' do - select 'Guest', from: "member_access_level_#{group.id}" + click_button @group_link.human_access + + page.within '.dropdown-menu' do + click_link 'Guest' + end + wait_for_ajax visit namespace_project_project_members_path(project.namespace, project) - expect(page).to have_select("member_access_level_#{group.id}", selected: 'Guest') + expect(first('.group_member')).to have_content('Guest') end it 'updates expiry date' do |