spec/receiver_spec.rb in routemaster-client-3.0.0 vs spec/receiver_spec.rb in routemaster-client-3.1.0
- old
+ new
@@ -75,14 +75,9 @@
it 'calls the handler multiple times' do
authorize 'demo', 'x'
expect(handler).to receive(:on_events).exactly(3).times
3.times { perform }
end
-
- it 'warns about deprecation' do
- expect_any_instance_of(described_class).to receive(:warn).with(/deprecated/)
- app
- end
end
context 'with a listener' do
let(:handler) { double }
before { Wisper.subscribe(handler, scope: 'Routemaster::Receiver', prefix: true) }