Sha256: 13a0206541ddb9d039f90a7e7ddac6e4a9d24cc0f174d0f5e4baa2eda9a84f6f
Contents?: true
Size: 646 Bytes
Versions: 2
Compression:
Stored size: 646 Bytes
Contents
require "spec_helper" module ShipCompliant describe SearchMoreSalesOrders do before { savon.mock! } after { savon.unmock! } let(:message) do { 'Request' => { 'Security' => ShipCompliant.configuration.credentials, 'PagingCookie' => 'paging-cookie' } } end context "paging_cookie" do it "finds orders by paging cookie" do savon.expects(:search_more_sales_orders) .with(message: message) .returns(File.read('spec/fixtures/search_sales_orders.xml')) SearchMoreSalesOrders.paging_cookie('paging-cookie') end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ship_compliant-0.2.1 | spec/lib/ship_compliant/search_more_sales_orders_spec.rb |
ship_compliant-0.2.0 | spec/lib/ship_compliant/search_more_sales_orders_spec.rb |