spec/bogus/stubbing/double_spec.rb in bogus-0.1.6 vs spec/bogus/stubbing/double_spec.rb in bogus-0.1.7

- old
+ new

@@ -12,10 +12,10 @@ it "does not track existence of the double if verify fails" do allow(verifies_stub_definition).to receive(:verify!).with(object, :foo, ["a", "b"]) { raise NameError } expect { double_instance.stub.foo("a", "b") { "the result" } - }.to raise_error + }.to raise_error NameError expect(double_tracker).not_to have_received(:track).with(object) end it "verifies stub definition" do