Sha256: 992274b0063b3df05ef1ac6d1597ba403924de985a82f034d4e26ed4a90d704f

Contents?: true

Size: 321 Bytes

Versions: 43

Compression:

Stored size: 321 Bytes

Contents

FactoryGirl.define do
  factory :store_credit_auth_event, class: Spree::StoreCreditEvent do
    store_credit       { create(:store_credit) }
    action             { Spree::StoreCredit::AUTHORIZE_ACTION }
    amount             { 100.00 }
    authorization_code { "#{store_credit.id}-SC-20140602164814476128" }
  end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
spree_core-3.1.14 lib/spree/testing_support/factories/store_credit_event_factory.rb
spree_core-3.1.13 lib/spree/testing_support/factories/store_credit_event_factory.rb
spree_core-3.3.4 lib/spree/testing_support/factories/store_credit_event_factory.rb
spree_core-3.2.7 lib/spree/testing_support/factories/store_credit_event_factory.rb
spree_core-3.1.12 lib/spree/testing_support/factories/store_credit_event_factory.rb
spree_core-3.3.3 lib/spree/testing_support/factories/store_credit_event_factory.rb
spree_core-3.2.6 lib/spree/testing_support/factories/store_credit_event_factory.rb
spree_core-3.1.11 lib/spree/testing_support/factories/store_credit_event_factory.rb
spree_core-3.4.1 lib/spree/testing_support/factories/store_credit_event_factory.rb
spree_core-3.4.0 lib/spree/testing_support/factories/store_credit_event_factory.rb
spree_core-3.4.0.rc2 lib/spree/testing_support/factories/store_credit_event_factory.rb
spree_core-3.1.10 lib/spree/testing_support/factories/store_credit_event_factory.rb
spree_core-3.4.0.rc1 lib/spree/testing_support/factories/store_credit_event_factory.rb
spree_core-3.3.2 lib/spree/testing_support/factories/store_credit_event_factory.rb
spree_core-3.2.5 lib/spree/testing_support/factories/store_credit_event_factory.rb
spree_core-3.1.9 lib/spree/testing_support/factories/store_credit_event_factory.rb
spree_core-3.3.1 lib/spree/testing_support/factories/store_credit_event_factory.rb
spree_core-3.2.4 lib/spree/testing_support/factories/store_credit_event_factory.rb
spree_core-3.1.8 lib/spree/testing_support/factories/store_credit_event_factory.rb
spree_core-3.3.0 lib/spree/testing_support/factories/store_credit_event_factory.rb