Sha256: 0a6a1c46092b52efe03285dc9370348a35d489cee731f4dd1dbe0818b9ac4969
Contents?: true
Size: 639 Bytes
Versions: 2
Compression:
Stored size: 639 Bytes
Contents
require 'test_helper' module Workarea module Storefront module GlobalEAPi class ReceiveOrderRefundIntegrationTest < Workarea::IntegrationTest include GlobalESupport def test_successful_post order = create_global_e_shipped_order post storefront.globale_receive_order_refund_path, headers: { 'CONTENT_TYPE' => 'application/json' }, params: global_e_notify_order_refunded_body(order: order) assert response.ok? fulfillment = Fulfillment.find order.id assert_equal :refunded, fulfillment.status end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems