summaryrefslogtreecommitdiff
path: root/spec/serializers/merge_request_user_entity_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/serializers/merge_request_user_entity_spec.rb')
-rw-r--r--spec/serializers/merge_request_user_entity_spec.rb11
1 files changed, 1 insertions, 10 deletions
diff --git a/spec/serializers/merge_request_user_entity_spec.rb b/spec/serializers/merge_request_user_entity_spec.rb
index 7877356ff0f..5c7120ab6a4 100644
--- a/spec/serializers/merge_request_user_entity_spec.rb
+++ b/spec/serializers/merge_request_user_entity_spec.rb
@@ -18,8 +18,7 @@ RSpec.describe MergeRequestUserEntity do
it 'exposes needed attributes' do
is_expected.to include(
:id, :name, :username, :state, :avatar_url, :web_url,
- :can_merge, :can_update_merge_request, :reviewed, :approved,
- :attention_requested
+ :can_merge, :can_update_merge_request, :reviewed, :approved
)
end
@@ -57,14 +56,6 @@ RSpec.describe MergeRequestUserEntity do
end
end
- context 'attention_requested' do
- before do
- merge_request.find_assignee(user).update!(state: :attention_requested)
- end
-
- it { is_expected.to include(attention_requested: true ) }
- end
-
describe 'performance' do
let_it_be(:user_a) { create(:user) }
let_it_be(:user_b) { create(:user) }