stripe-ruby/test/test_helper.rb
Brandur 7ed2abffdd Remove support for Ruby 1.9
This has been discussed, but we'll finally be doing it for the next
major version so that we can introduce a few features that depend on
gems that don't support 1.9.
2017-02-14 12:07:18 -08:00

21 lines
349 B
Ruby

require 'stripe'
require 'test/unit'
require 'mocha/setup'
require 'stringio'
require 'shoulda/context'
require 'webmock/test_unit'
require File.expand_path('../test_data', __FILE__)
class Test::Unit::TestCase
include Stripe::TestData
include Mocha
setup do
Stripe.api_key = "foo"
end
teardown do
Stripe.api_key = nil
end
end