diff options
Diffstat (limited to 'spec/support/shared_examples/channels/noteable/notes_channel_shared_examples.rb')
-rw-r--r-- | spec/support/shared_examples/channels/noteable/notes_channel_shared_examples.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/spec/support/shared_examples/channels/noteable/notes_channel_shared_examples.rb b/spec/support/shared_examples/channels/noteable/notes_channel_shared_examples.rb index cb7001a9faf..21bba14f3e6 100644 --- a/spec/support/shared_examples/channels/noteable/notes_channel_shared_examples.rb +++ b/spec/support/shared_examples/channels/noteable/notes_channel_shared_examples.rb @@ -15,16 +15,4 @@ RSpec.shared_examples 'handle subscription based on user access' do expect(subscription).to be_rejected end - - context 'when action_cable_notes is disabled' do - before do - stub_feature_flags(action_cable_notes: false) - end - - it 'rejects the subscription' do - subscribe(subscribe_params) - - expect(subscription).to be_rejected - end - end end |