features/safe_stubbing/safe_stubbing.feature in bogus-0.1.4 vs features/safe_stubbing/safe_stubbing.feature in bogus-0.1.5
- old
+ new
@@ -23,10 +23,10 @@
describe Library do
it "does something" do
library = Library.new
stub(library).checkout("some book") { :checked_out }
- library.checkout("some book").should == :checked_out
+ expect(library.checkout("some book")).to eq(:checked_out)
end
end
"""
Scenario: Stubbing methods that do not exist on real object