Sha256: 2f74c8d45d27475a9c98bba20c852ac6bb689178a95a86dce6c4b3cea11d8680
Contents?: true
Size: 462 Bytes
Versions: 5
Compression:
Stored size: 462 Bytes
Contents
require "spec_helper" describe ShippingEasy::Resources::Cancellation do describe ".create" do it "sends a request with the expected options" do ShippingEasy::Resources::Cancellation.should_receive(:execute_request!).with({:relative_path=>"/stores/123456/orders/ABCXYZ/cancellations", :http_method=>:post}, :public) ShippingEasy::Resources::Cancellation.create(:store_api_key => "123456", external_order_identifier: "ABCXYZ") end end end
Version data entries
5 entries across 5 versions & 1 rubygems