spec/bogus/fakes/fake_configuration_spec.rb in bogus-0.1.6 vs spec/bogus/fakes/fake_configuration_spec.rb in bogus-0.1.7
- old
+ new
@@ -79,10 +79,10 @@
config.evaluate do
fake(:foo) { bar { raise "gotcha" } }
end
block = stubs(:foo)[:bar]
- expect{ block.call }.to raise_error
+ expect{ block.call }.to raise_error RuntimeError
end
end
context "witn no stubs block" do
it "returns the options" do