spec/lib/dispatch-rider/runner_spec.rb in dispatch-rider-1.6.0 vs spec/lib/dispatch-rider/runner_spec.rb in dispatch-rider-1.6.1

- old
+ new

@@ -9,9 +9,13 @@ DispatchRider.configure do |config| config.subscriber = subscriber end end + after do + DispatchRider.clear_configuration! + end + example do expect(subscriber).to receive(:new).once.and_return(subscriber) expect(subscriber).to receive(:register_queue).once expect(subscriber).to receive(:setup_demultiplexer).once expect(subscriber).to receive(:process).once