Sha256: 5c0c1b3e304c4d81f9cc53c34d9fce068e67b2569c0078fbdbd6597ebbfe1cfc
Contents?: true
Size: 361 Bytes
Versions: 9
Compression:
Stored size: 361 Bytes
Contents
# allows credit card info to be saved to the database which is needed for factories to work properly class TestCard < Spree::CreditCard def remove_readonly_attributes(attributes) attributes; end end FactoryGirl.define do factory :credit_card, class: TestCard do verification_value 123 month 12 year 2013 number '4111111111111111' end end
Version data entries
9 entries across 9 versions & 1 rubygems