Sha256: a0c83fdf603b672d8f005e50a1838024fdf2cf74e04a1f2b5c65ca86274ee875
Contents?: true
Size: 592 Bytes
Versions: 56
Compression:
Stored size: 592 Bytes
Contents
# frozen_string_literal: true require 'spree/testing_support/factory_bot' Spree::TestingSupport::FactoryBot.when_cherry_picked do Spree::TestingSupport::FactoryBot.deprecate_cherry_picking end FactoryBot.define do factory :credit_card, class: 'Spree::CreditCard' do verification_value { 123 } month { 12 } year { 1.year.from_now.year } number { '4111111111111111' } name { 'Spree Commerce' } association(:payment_method, factory: :credit_card_payment_method) association(:address) trait :failing do number { "0000000000000000" } end end end
Version data entries
56 entries across 56 versions & 1 rubygems