summaryrefslogtreecommitdiff
path: root/spec/serializers/discussion_entity_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/serializers/discussion_entity_spec.rb')
-rw-r--r--spec/serializers/discussion_entity_spec.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/spec/serializers/discussion_entity_spec.rb b/spec/serializers/discussion_entity_spec.rb
index 306a4fa43a9..e1734d5290f 100644
--- a/spec/serializers/discussion_entity_spec.rb
+++ b/spec/serializers/discussion_entity_spec.rb
@@ -79,13 +79,5 @@ RSpec.describe DiscussionEntity do
:active
)
end
-
- context 'diff_head_compare feature is disabled' do
- it 'does not expose positions and line_codes attributes' do
- stub_feature_flags(merge_ref_head_comments: false)
-
- expect(subject.keys).not_to include(:positions, :line_codes)
- end
- end
end
end