spec/guards/background_spec.rb in mspec-1.8.0 vs spec/guards/background_spec.rb in mspec-1.9.0
- old
+ new
@@ -9,10 +9,10 @@
@guard = BackgroundGuard.new
BackgroundGuard.stub(:new).and_return(@guard)
end
it "yields if MSpec.mode?(:background) is false" do
- MSpec.mode?(:background).should be_false
+ MSpec.mode?(:background).should be_falsey
process_is_foreground { ScratchPad.record :yield }
ScratchPad.recorded.should == :yield
end
it "does not yield if MSpec.mode?(:background) is true" do