Sha256: aebbb0153a466808c67cccdc6ef2e301f9032c459cfb228ee61ba490403880ad
Contents?: true
Size: 701 Bytes
Versions: 62
Compression:
Stored size: 701 Bytes
Contents
require 'test_helper' module Workarea module Storefront class CreditCardsHelperTest < ViewTest include InlineSvg::ActionView::Helpers def test_credit_card_issuer_icon assert_equal( inline_svg( 'workarea/storefront/default_card.svg', class: 'payment-icon payment-icon--foo', title: 'Foo' ), credit_card_issuer_icon('Foo') ) assert_equal( inline_svg( 'workarea/storefront/payment_icons/visa.svg', class: 'payment-icon payment-icon--visa', title: 'Visa' ), credit_card_issuer_icon('Visa') ) end end end end
Version data entries
62 entries across 62 versions & 1 rubygems