diff options
Diffstat (limited to 'spec/serializers/group_link/group_link_entity_spec.rb')
-rw-r--r-- | spec/serializers/group_link/group_link_entity_spec.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/spec/serializers/group_link/group_link_entity_spec.rb b/spec/serializers/group_link/group_link_entity_spec.rb index 941445feaa2..01c01f492aa 100644 --- a/spec/serializers/group_link/group_link_entity_spec.rb +++ b/spec/serializers/group_link/group_link_entity_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -RSpec.describe GroupLink::GroupLinkEntity do +RSpec.describe GroupLink::GroupLinkEntity, feature_category: :groups_and_projects do include_context 'group_group_link' let(:entity) { described_class.new(group_group_link) } @@ -12,10 +12,6 @@ RSpec.describe GroupLink::GroupLinkEntity do expect(entity.to_json).to match_schema('group_link/group_link') end - it 'correctly exposes `valid_roles`' do - expect(entity_hash[:valid_roles]).to include(Gitlab::Access.options_with_owner) - end - it 'correctly exposes `shared_with_group.avatar_url`' do avatar_url = 'https://gitlab.com/uploads/-/system/group/avatar/24/foobar.png?width=40' allow(shared_with_group).to receive(:avatar_url).with(only_path: false, size: Member::AVATAR_SIZE).and_return(avatar_url) |