Sha256: c3fe713af061fb7e58a1f04176ea317d7d482a5e0d34d710cfd90bce6dc36a19
Contents?: true
Size: 566 Bytes
Versions: 24
Compression:
Stored size: 566 Bytes
Contents
# frozen_string_literal: true FactoryBot.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
24 entries across 24 versions & 1 rubygems