Sha256: df8ad4101992dc6c350e3c3689607733ba9b87ffc989e0cbed77b64cd4cc496a

Contents?: true

Size: 355 Bytes

Versions: 2

Compression:

Stored size: 355 Bytes

Contents

require 'test_helper'

module Workarea
  class ShipStation::SaveOrderTest < TestCase
    def test_order_ship_station_exported
      order = create_placed_order

      Workarea::ShipStation::SaveOrder.new.perform(order.id)

      order.reload

      assert(order.ship_station_exported?)
      assert(order.ship_station_order_id.present?)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
workarea-ship_station-1.0.1 test/workers/workarea/ship_station/save_order_test.rb
workarea-ship_station-1.0.0 test/workers/workarea/ship_station/save_order_test.rb