spec/unit/rom/setup_spec.rb in rom-0.8.1 vs spec/unit/rom/setup_spec.rb in rom-0.9.0.beta1
- old
+ new
@@ -80,10 +80,10 @@
end
it 'resets boot to nil' do
setup = ROM.setup(:memory)
- allow(setup).to receive(:env).and_raise(StandardError)
+ allow(setup).to receive(:container).and_raise(StandardError)
expect { ROM.finalize }.to raise_error(StandardError)
expect(ROM.boot).to be(nil)
end
end