Sha256: 14d063624b83b1f11063a24afb81750ed12b411d8a1b16fdb4b11fd6c074ddf5
Contents?: true
Size: 531 Bytes
Versions: 48
Compression:
Stored size: 531 Bytes
Contents
# frozen_string_literal: true require 'spree/testing_support/factories/store_credit_category_factory' require 'spree/testing_support/factories/store_credit_type_factory' require 'spree/testing_support/factories/user_factory' FactoryBot.define do factory :store_credit, class: 'Spree::StoreCredit' do user association :created_by, factory: :user association :category, factory: :store_credit_category amount { 150.00 } currency { "USD" } association :credit_type, factory: :primary_credit_type end end
Version data entries
48 entries across 48 versions & 2 rubygems