Sha256: 778a0ae28f1f46e671b3e618d4260eb74b495bd0652e213d1b659512159c2d9c

Contents?: true

Size: 428 Bytes

Versions: 1

Compression:

Stored size: 428 Bytes

Contents

module Workarea
  if Plugin.installed?(:oms)
    decorate CommitShipmentsTest, 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/services/workarea/commit_shipments_test.decorator