Sha256: f29a28bc273a9b2f06256e6b38b04f5f0547f7e33c32798f59e73072a7fe7995

Contents?: true

Size: 306 Bytes

Versions: 23

Compression:

Stored size: 306 Bytes

Contents

FactoryGirl.define do
  factory :return_authorization, :class => Spree::ReturnAuthorization do
    number '100'
    amount 100.00
    #order { FactoryGirl.create(:order) }
    order { FactoryGirl.create(:order_with_inventory_unit_shipped) }
    reason 'no particular reason'
    state 'received'
  end
end

Version data entries

23 entries across 23 versions & 2 rubygems

Version Path
spree_core-1.3.5 lib/spree/core/testing_support/factories/return_authorization_factory.rb
spree_core-1.3.4 lib/spree/core/testing_support/factories/return_authorization_factory.rb
spree_core-1.3.3 lib/spree/core/testing_support/factories/return_authorization_factory.rb
spree_core-1.2.5 lib/spree/core/testing_support/factories/return_authorization_factory.rb
spree_core-1.1.6 lib/spree/core/testing_support/factories/return_authorization_factory.rb
spree_core-1.1.5 lib/spree/core/testing_support/factories/return_authorization_factory.rb
spree_core-1.2.4 lib/spree/core/testing_support/factories/return_authorization_factory.rb
spree_core-1.3.2 lib/spree/core/testing_support/factories/return_authorization_factory.rb
spree_core-1.2.3 lib/spree/core/testing_support/factories/return_authorization_factory.rb
spree_core-1.3.1 lib/spree/core/testing_support/factories/return_authorization_factory.rb
spree_core-1.3.0 lib/spree/core/testing_support/factories/return_authorization_factory.rb
spree_core-1.3.0.rc2 lib/spree/core/testing_support/factories/return_authorization_factory.rb
dup_spree_core-1.3.0.rc1 lib/spree/core/testing_support/factories/return_authorization_factory.rb
spree_core-1.3.0.rc1 lib/spree/core/testing_support/factories/return_authorization_factory.rb
spree_core-1.2.2 lib/spree/core/testing_support/factories/return_authorization_factory.rb
spree_core-1.1.4 lib/spree/core/testing_support/factories/return_authorization_factory.rb
spree_core-1.2.0 lib/spree/core/testing_support/factories/return_authorization_factory.rb
spree_core-1.2.0.rc2 lib/spree/core/testing_support/factories/return_authorization_factory.rb
spree_core-1.2.0.rc1 lib/spree/core/testing_support/factories/return_authorization_factory.rb
spree_core-1.1.3 lib/spree/core/testing_support/factories/return_authorization_factory.rb