mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-17 00:03:02 -04:00
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.
21 lines
349 B
Ruby
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
|