Sha256: c267e37a3b8b48f683f8a266f831faf4cdecd44d229a2eb025bd5aedeeccc1c2
Contents?: true
Size: 475 Bytes
Versions: 89
Compression:
Stored size: 475 Bytes
Contents
FactoryBot.define do sequence(:store_credits_order_number) { |n| "R1000#{n}" } factory :store_credit, class: Spree::StoreCredit do user created_by { create(:user) } category { create(:store_credit_category) } amount { 150.00 } currency { 'USD' } credit_type { create(:primary_credit_type) } end factory :store_credits_order_without_user, class: Spree::Order do number { generate(:store_credits_order_number) } bill_address end end
Version data entries
89 entries across 89 versions & 1 rubygems