diff options
Diffstat (limited to 'spec/support/shared_examples/services/snippets_shared_examples.rb')
-rw-r--r-- | spec/support/shared_examples/services/snippets_shared_examples.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/spec/support/shared_examples/services/snippets_shared_examples.rb b/spec/support/shared_examples/services/snippets_shared_examples.rb index 56b2ce3353d..5a44f739b27 100644 --- a/spec/support/shared_examples/services/snippets_shared_examples.rb +++ b/spec/support/shared_examples/services/snippets_shared_examples.rb @@ -22,18 +22,6 @@ RSpec.shared_examples 'checking spam' do subject end - - context 'when snippet_spam flag is disabled' do - before do - stub_feature_flags(snippet_spam: false) - end - - it 'request parameter is not passed to the service' do - expect(Spam::SpamActionService).not_to receive(:new) - - subject - end - end end shared_examples 'invalid params error response' do |