diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-21 03:08:34 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-21 03:08:34 +0000 |
commit | 9c1df7bcf10e362442057b1df43a753b621d85ee (patch) | |
tree | 593887914bd382186b016387d6dbde6c21c03d08 /spec/support/shared_examples/lib/gitlab | |
parent | 92ea86691a2a6b3df4b36c7ff00001410303a701 (diff) | |
download | gitlab-ce-9c1df7bcf10e362442057b1df43a753b621d85ee.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/support/shared_examples/lib/gitlab')
-rw-r--r-- | spec/support/shared_examples/lib/gitlab/position_formatters_shared_examples.rb | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/spec/support/shared_examples/lib/gitlab/position_formatters_shared_examples.rb b/spec/support/shared_examples/lib/gitlab/position_formatters_shared_examples.rb index 326800e6dc2..c9300aff3e6 100644 --- a/spec/support/shared_examples/lib/gitlab/position_formatters_shared_examples.rb +++ b/spec/support/shared_examples/lib/gitlab/position_formatters_shared_examples.rb @@ -32,21 +32,7 @@ RSpec.shared_examples "position formatter" do subject { formatter.to_h } - context 'when file_identifier_hash is disabled' do - before do - stub_feature_flags(file_identifier_hash: false) - end - - it { is_expected.to eq(formatter_hash.except(:file_identifier_hash)) } - end - - context 'when file_identifier_hash is enabled' do - before do - stub_feature_flags(file_identifier_hash: true) - end - - it { is_expected.to eq(formatter_hash) } - end + it { is_expected.to eq(formatter_hash) } end describe '#==' do |