Sha256: f065f869a8fe448116eb729432ad1f25ce2b5b64859b79b8a964915c76658be4
Contents?: true
Size: 714 Bytes
Versions: 39
Compression:
Stored size: 714 Bytes
Contents
require 'spree/testing_support/factories/order_factory' require 'spree/testing_support/factories/stock_location_factory' require 'spree/testing_support/factories/return_reason_factory' FactoryGirl.define do factory :return_authorization, class: Spree::ReturnAuthorization do association(:order, factory: :shipped_order) association(:stock_location, factory: :stock_location) association(:reason, factory: :return_reason) memo 'Items were broken' end factory :new_return_authorization, class: Spree::ReturnAuthorization do association(:order, factory: :shipped_order) association(:stock_location, factory: :stock_location) association(:reason, factory: :return_reason) end end
Version data entries
39 entries across 39 versions & 1 rubygems