Sha256: a61b9216ffbb759adf8b99d197aea10256dd19db78919dac266d149d5ed1069e
Contents?: true
Size: 506 Bytes
Versions: 14
Compression:
Stored size: 506 Bytes
Contents
require File.expand_path('../../test_helper', __FILE__) module Stripe class ThreeDSecureTest < Test::Unit::TestCase should "create should return a new 3D Secure object" do @mock.expects(:post).once.returns(make_response(make_three_d_secure)) tds = Stripe::ThreeDSecure.create( :card => "tok_test", :amount => 1500, :currency => "usd", :return_url => "https://example.org/3d-secure-result" ) assert_equal "tdsrc_test", tds.id end end end
Version data entries
14 entries across 14 versions & 1 rubygems