Sha256: 94dbc07fdb312cbb6b86e5e5c807e34bc4d662667bed8519b85bdb98b3bbd2db

Contents?: true

Size: 427 Bytes

Versions: 1

Compression:

Stored size: 427 Bytes

Contents

module Workarea
  if Plugin.installed?(:oms)
    decorate OmsFulfillmentTest, with: :flow_io do
      decorated { setup :stub_flow_workers }

      private

        def stub_flow_workers
          Workarea::FlowIo::ShippingNotifications.any_instance.stubs(:perform).returns(stub_everything)
          Workarea::FlowIo::FulfillmentCancellation.any_instance.stubs(:perform).returns(stub_everything)
        end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
workarea-flow_io-1.2.1 test/models/workarea/oms_fulfillment_test.decorator