spec/bogus/mocking_dsl_spec.rb in bogus-0.1.1 vs spec/bogus/mocking_dsl_spec.rb in bogus-0.1.2
- old
+ new
@@ -197,11 +197,11 @@
Bogus.send(:clear_expectations)
expect {
Bogus.after_each_test
- }.not_to raise_error(Bogus::NotAllExpectationsSatisfied)
+ }.not_to raise_error
end
end
class ExampleForMockingOnConstants
def self.bar(foo)
@@ -220,10 +220,10 @@
Mocker.stub(ExampleForMockingOnConstants).baz
expect {
Bogus.after_each_test
- }.not_to raise_error(Bogus::NotAllExpectationsSatisfied)
+ }.not_to raise_error
end
context "with fakes" do
it_behaves_like "mocking dsl" do
let(:baz) { fake }