gitlab-org--gitlab-foss/spec/helpers/groups/group_members_helper_spec.rb
Luke Bennett d95043b63b
Resolve CE/EE diffs in new group member view
Part of single codebase changes.
2019-05-20 23:22:43 +01:00

17 lines
409 B
Ruby

# frozen_string_literal: true
require "spec_helper"
describe Groups::GroupMembersHelper do
describe '.group_member_select_options' do
let(:group) { create(:group) }
before do
helper.instance_variable_set(:@group, group)
end
it 'returns an options hash' do
expect(helper.group_member_select_options).to include(multiple: true, scope: :all, email_user: true)
end
end
end