Sha256: 76b91bbc19a70e52d81d1bb1238a5cec22f7a0649f157bf9e9510101b69d6d32
Contents?: true
Size: 476 Bytes
Versions: 1
Compression:
Stored size: 476 Bytes
Contents
require File.dirname(__FILE__) + '/../../../test_helper' class HiTrustHelperTest < Test::Unit::TestCase include MerbMerchant::Billing::Integrations def setup @helper = HiTrust::Helper.new('order-500','cody@example.com', :amount => 500, :currency => 'USD') end def test_basic_helper_fields assert_field 'storeid', 'cody@example.com' assert_field 'amount', '500' assert_field 'ordernumber', 'order-500' assert_field 'currency', 'USD' end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
merb_merchant-1.4.1 | test/unit/integrations/helpers/hi_trust_helper_test.rb |