spec/config_spec.rb in queue-bus-0.8.0 vs spec/config_spec.rb in queue-bus-0.8.1
- old
+ new
@@ -51,9 +51,10 @@
end
QueueBus.local_mode = :suppress
end
it 'resets to the original local mode after the block' do
+ expect(QueueBus.local_mode).to eq nil
QueueBus.with_local_mode(:suppress) do
expect(QueueBus.local_mode).to eq :suppress
end
expect(QueueBus.local_mode).to eq nil
end