Sha256: 6b67a35dc25a2609e895a44cc0f675fc47dabd7cc09b14c9a6dc7d65d9f4d206

Contents?: true

Size: 921 Bytes

Versions: 15

Compression:

Stored size: 921 Bytes

Contents

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

require 'minitest/autorun'

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

# Chrome Setup
require 'selenium-webdriver'
require 'capybara'
require 'chromedriver-helper'
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

15 entries across 15 versions & 1 rubygems

Version Path
stripe-rails-1.9.0 test/spec_helper.rb
stripe-rails-1.8.2 test/spec_helper.rb
stripe-rails-1.8.1 test/spec_helper.rb
stripe-rails-1.8.0 test/spec_helper.rb
stripe-rails-1.7.2 test/spec_helper.rb
stripe-rails-1.7.1 test/spec_helper.rb
stripe-rails-1.7.0 test/spec_helper.rb
stripe-rails-1.6.1 test/spec_helper.rb
stripe-rails-1.6.0 test/spec_helper.rb
stripe-rails-1.5.5 test/spec_helper.rb
stripe-rails-1.5.4 test/spec_helper.rb
stripe-rails-1.5.3 test/spec_helper.rb
stripe-rails-1.5.2 test/spec_helper.rb
stripe-rails-1.5.1 test/spec_helper.rb
stripe-rails-1.5.0 test/spec_helper.rb