Sha256: c8288ca93f5951dc3ba9e4710adf5b530e8f5a4b019b4b8e241d11b4c7e2549e

Contents?: true

Size: 551 Bytes

Versions: 7

Compression:

Stored size: 551 Bytes

Contents

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

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

Rails.backtrace_cleaner.remove_silencers!

# Load support files
Dir["#{File.dirname(__FILE__)}/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", __FILE__)
end

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
stripe-rails-0.2.6 test/spec_helper.rb
stripe-rails-0.2.5 test/spec_helper.rb
stripe-rails-0.2.4 test/spec_helper.rb
stripe-rails-0.2.3 test/spec_helper.rb
stripe-rails-0.2.2 test/spec_helper.rb
stripe-rails-0.2.1 test/spec_helper.rb
stripe-rails-0.2.0 test/spec_helper.rb