Sha256: 488410fff7f7a72db55df771ff4f24715eaa8b22f477d7dfc4ad4464d3d4d44a
Contents?: true
Size: 683 Bytes
Versions: 2
Compression:
Stored size: 683 Bytes
Contents
require 'test_helper' module Workarea module Storefront class SavedCreditCardTest < Workarea::TestCase def test_saving_credit_card_stores_kount_number_for_saved_credit_card travel_to Time.zone.local(2017, 8, 15, 9, 00, 00) saved_card = Workarea::Payment::SavedCreditCard.create( profile: create_payment_profile(email: 'user@workarea.com'), first_name: 'Ben', last_name: 'Crouse', number: '4111111111111111', month: 1, year: Time.now.year + 1, cvv: '999' ) assert_equal('41111193FBKM1EIVIXVP', saved_card.kount_number) travel_back end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
workarea-kount-3.3.1 | test/models/workarea/payment/saved_credit_card_test.rb |
workarea-kount-3.3.0 | test/models/workarea/payment/saved_credit_card_test.rb |