spec/faraday/response_spec.rb in fullcontact-0.2.0 vs spec/faraday/response_spec.rb in fullcontact-0.3.0

- old
+ new

@@ -28,11 +28,11 @@ to_return(:status => status) end it "should raise #{exception.name} error" do lambda do - @client.person( 'brawest@gmail.com') + @client.person(:email => 'brawest@gmail.com') end.should raise_error(exception) end end else [nil, "error", "errors"].each do |body| @@ -44,10 +44,10 @@ to_return(:status => status, :body => body_message) end it "should raise #{exception.name} error" do lambda do - @client.person( 'brawest@gmail.com') + @client.person(:email => 'brawest@gmail.com') end.should raise_error(exception) end end end end