spec/unit/proxy_spec.rb in spank-1.0.1420314444 vs spec/unit/proxy_spec.rb in spank-1.0.1441140793

- old
+ new

@@ -29,17 +29,17 @@ proxy = Proxy.new([]) expect do proxy.each do |x| raise StandardError end - end.to raise_error + end.to raise_error(StandardError) end end end context "when invoking a method that is not defined on the target" do it "raises an error" do - expect { Proxy.new("blah").goodbye }.to raise_error + expect { Proxy.new("blah").goodbye }.to raise_error(NoMethodError) end end end end