spec/reactor_spec.rb in reactor-0.13.0 vs spec/reactor_spec.rb in reactor-0.14.0
- old
+ new
@@ -9,9 +9,11 @@
describe Reactor do
let(:subscriber) { SomeClass }
describe '.test_mode!' do
+ before { Reactor.disable_test_mode! }
+
it 'sets Reactor into test mode' do
expect(Reactor.test_mode?).to be_falsey
Reactor.test_mode!
expect(Reactor.test_mode?).to be_truthy
end