Sha256: dda289cdebef0409ad88f1193759373b0e523d15bbed7637763c3ac85678b666
Contents?: true
Size: 468 Bytes
Versions: 4
Compression:
Stored size: 468 Bytes
Contents
When(/^I commit a sale with all shipments$/) do VCR.use_cassette('commit_salesorder_all_shipments') do @order_commit_result = ShipCompliant::CommitSalesOrder.call({ commit_options: 'AllShipments', payments: nil, sales_tax_collected: 0, sales_order_key: '1006932' }) end end Then(/^I get a successful commit message$/) do @order_commit_result.success?.should be_true @order_commit_result.committed_shipments.should == ['1'] end
Version data entries
4 entries across 4 versions & 1 rubygems