spec/valvat/lookup_spec.rb in valvat-0.4.7 vs spec/valvat/lookup_spec.rb in valvat-0.5.0

- old
+ new

@@ -69,10 +69,10 @@ end end context "error on request" do before do - @request = mock("request") + @request = double("request") Valvat::Lookup::Request.stub(:new => @request) @request.stub(:perform).and_raise(ArgumentError.new) end it "should return nil" do