diff options
Diffstat (limited to 'spec/features/groups/members/manage_members_spec.rb')
-rw-r--r-- | spec/features/groups/members/manage_members_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/groups/members/manage_members_spec.rb b/spec/features/groups/members/manage_members_spec.rb index 3c1425fc9ca..138031ffaac 100644 --- a/spec/features/groups/members/manage_members_spec.rb +++ b/spec/features/groups/members/manage_members_spec.rb @@ -3,6 +3,7 @@ require 'spec_helper' RSpec.describe 'Groups > Members > Manage members', feature_category: :groups_and_projects do + include ListboxHelpers include Features::MembersHelpers include Features::InviteMembersModalHelpers include Spec::Support::Helpers::ModalHelpers @@ -35,8 +36,7 @@ RSpec.describe 'Groups > Members > Manage members', feature_category: :groups_an visit group_group_members_path(group) page.within(second_row) do - click_button('Developer') - click_button('Owner') + select_from_listbox('Owner', from: 'Developer') expect(page).to have_button('Owner') end |