spec/shipcloud/shipment_quote_spec.rb in shipcloud-0.6.0 vs spec/shipcloud/shipment_quote_spec.rb in shipcloud-0.7.0
- old
+ new
@@ -50,10 +50,10 @@
end
describe ".create" do
it "makes a new POST request using the correct API endpoint" do
expect(Shipcloud).to receive(:request).
- with(:post, "shipment_quotes", valid_attributes).
+ with(:post, "shipment_quotes", valid_attributes, api_key: nil).
and_return("data" => {})
Shipcloud::ShipmentQuote.create(valid_attributes)
end