Sha256: 5354bbc1f0f97cef9574fb5251ba6b2be6169f1ae3be890ba6d948fd08278171

Contents?: true

Size: 978 Bytes

Versions: 14

Compression:

Stored size: 978 Bytes

Contents

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

require 'minitest/autorun'

require 'webmock/minitest'
WebMock.disable_net_connect! allow_localhost: true, allow: ['codeclimate.com', 'chromedriver.storage.googleapis.com']

# Chrome Setup
require 'selenium-webdriver'
require 'capybara'
require 'webdrivers'
Capybara.register_driver :selenium do |app|
  Capybara::Selenium::Driver.new(app, :browser => :chrome)
end

# 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

14 entries across 14 versions & 1 rubygems

Version Path
stripe-rails-2.3.4 test/spec_helper.rb
stripe-rails-2.3.3 test/spec_helper.rb
stripe-rails-2.3.2 test/spec_helper.rb
stripe-rails-2.3.1 test/spec_helper.rb
stripe-rails-2.3.0 test/spec_helper.rb
stripe-rails-2.2.1 test/spec_helper.rb
stripe-rails-2.2.0 test/spec_helper.rb
stripe-rails-2.1.0 test/spec_helper.rb
stripe-rails-2.0.0 test/spec_helper.rb
stripe-rails-1.10.2 test/spec_helper.rb
stripe-rails-2.0.0.pre test/spec_helper.rb
stripe-rails-1.10.1 test/spec_helper.rb
stripe-rails-1.10.0 test/spec_helper.rb
stripe-rails-1.9.1 test/spec_helper.rb