Skip to content

Commit

Permalink
Fix payment sample card for 2015
Browse files Browse the repository at this point in the history
Fixes #5845
  • Loading branch information
jhawthorn authored and Jeff Dutil committed Jan 2, 2015
1 parent 080da35 commit 4da14fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sample/db/samples/payments.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def self.current
# reference it as such. Make it explicit here that this table has been renamed.
Spree::CreditCard.table_name = 'spree_credit_cards'

creditcard = Spree::CreditCard.create(:cc_type => 'visa', :month => 12, :year => 2014, :last_digits => '1111',
creditcard = Spree::CreditCard.create(:cc_type => 'visa', :month => 12, :year => 2.years.from_now.year, :last_digits => '1111',
:name => 'Sean Schofield', :gateway_customer_profile_id => 'BGS-1234')

Spree::Order.all.each_with_index do |order, index|
Expand Down

0 comments on commit 4da14fa

Please sign in to comment.