Sha256: ddc7cf1d2dcbac46965a4cb1ad336115d1061a60d36129ffb12ac824fba0a24f
Contents?: true
Size: 689 Bytes
Versions: 30
Compression:
Stored size: 689 Bytes
Contents
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_authorization_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_authorization_reason) end factory :return_authorization_reason, class: Spree::ReturnAuthorizationReason do sequence(:name) { |n| "Defect ##{n}" } end end
Version data entries
30 entries across 30 versions & 2 rubygems