Sha256: dc7f49b803e289727c3241df8a4833e91a600b264cbfb488c56f809f28655772

Contents?: true

Size: 719 Bytes

Versions: 2

Compression:

Stored size: 719 Bytes

Contents

require "simplecov"
SimpleCov.start do
  add_filter "/test/"
end

require 'minitest/autorun'

require 'webmock/minitest'
WebMock.disable_net_connect!(allow_localhost: true)

# Configure Rails Environment
ENV["RAILS_ENV"] = "test"
ENV['STRIPE_SECRET_KEY'] = 'XYZ'

require File.expand_path("dummy/config/environment.rb", __dir__)
require "rails/test_help"

Rails.backtrace_cleaner.remove_silencers!

# Load support files
Dir["#{__dir__}/support/**/*.rb"].each { |f| require f }

# Load fixtures from the engine
if ActiveSupport::TestCase.method_defined?(:fixture_path=)
  ActiveSupport::TestCase.fixture_path = File.expand_path("fixtures", __dir__)
end

Stripe::Engine.testing = true
require 'mocha/setup'

require 'irb'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
stripe-rails-1.2.2 test/spec_helper.rb
stripe-rails-1.2.1 test/spec_helper.rb