diff --git a/.gitignore b/.gitignore index 1d8064a..b8fd051 100644 --- a/.gitignore +++ b/.gitignore @@ -7,4 +7,4 @@ doc .ruby-gemset gemfiles/*.gemfile.lock zuora.log -.DS_Store +.DS_Store \ No newline at end of file diff --git a/Gemfile.lock b/Gemfile.lock index 13cad09..01db494 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -73,7 +73,7 @@ GEM pry (0.11.2) coderay (~> 1.1.0) method_source (~> 0.9.0) - rack (1.6.8) + rack (2.0.9.1) rack-test (0.7.0) rack (>= 1.0, < 3) rake (12.1.0) diff --git a/spec/factories/payment_methods.rb b/spec/factories/payment_methods.rb index 50723ff..d2baad2 100644 --- a/spec/factories/payment_methods.rb +++ b/spec/factories/payment_methods.rb @@ -8,8 +8,8 @@ credit_card_holder_name "Example User" credit_card_number "4111111111111111" credit_card_type "Visa" - credit_card_expiration_month "9" - credit_card_expiration_year "2018" + credit_card_expiration_month 9 + credit_card_expiration_year { Time.now.year + 2 } end factory :payment_method_debit_card, :parent => :payment_method_credit_card do