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

Version Path
stripe-1.56.2 test/stripe/three_d_secure_test.rb
stripe-1.56.1 test/stripe/three_d_secure_test.rb
stripe-1.56.0 test/stripe/three_d_secure_test.rb
stripe-1.55.1 test/stripe/three_d_secure_test.rb
stripe-1.55.0 test/stripe/three_d_secure_test.rb
stripe-1.54.0 test/stripe/three_d_secure_test.rb
stripe-1.53.0 test/stripe/three_d_secure_test.rb
stripe-1.52.0 test/stripe/three_d_secure_test.rb
stripe-1.51.1 test/stripe/three_d_secure_test.rb
stripe-1.51.0 test/stripe/three_d_secure_test.rb
stripe-1.50.1 test/stripe/three_d_secure_test.rb
stripe-1.50.0 test/stripe/three_d_secure_test.rb
stripe-1.49.0 test/stripe/three_d_secure_test.rb
stripe-1.48.0 test/stripe/three_d_secure_test.rb