Sha256: 8c8d2c7a336281750ef84f96f7f142a75bed7660caa26a5f691c69b69797dbab

Contents?: true

Size: 336 Bytes

Versions: 16

Compression:

Stored size: 336 Bytes

Contents

module Workarea
  module Api
    module Storefront
      module OrdersTest
        def add_item(order, params)
          order.add_item(
            OrderItemDetails
              .find!(params[:sku])
              .to_h
              .merge(params)
          )

          Pricing.perform(order)
        end
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
workarea-api-4.5.6 storefront/test/support/orders_test.rb
workarea-api-storefront-4.5.6 test/support/orders_test.rb
workarea-api-4.5.5 storefront/test/support/orders_test.rb
workarea-api-storefront-4.5.5 test/support/orders_test.rb
workarea-api-4.5.4 storefront/test/support/orders_test.rb
workarea-api-storefront-4.5.4 test/support/orders_test.rb
workarea-api-4.5.3 storefront/test/support/orders_test.rb
workarea-api-storefront-4.5.3 test/support/orders_test.rb
workarea-api-4.5.2 storefront/test/support/orders_test.rb
workarea-api-storefront-4.5.2 test/support/orders_test.rb
workarea-api-4.5.0 storefront/test/support/orders_test.rb
workarea-api-storefront-4.5.0 test/support/orders_test.rb
workarea-api-4.4.7 storefront/test/support/orders_test.rb
workarea-api-storefront-4.4.7 test/support/orders_test.rb
workarea-api-4.4.6 storefront/test/support/orders_test.rb
workarea-api-storefront-4.4.6 test/support/orders_test.rb