Sha256: 9cb72c481bf16270f278fbda2b33744a793ddba941db91a4e9895c65747bac87

Contents?: true

Size: 634 Bytes

Versions: 1

Compression:

Stored size: 634 Bytes

Contents

require "simplecov"
SimpleCov.start "rails"

ENV["RAILS_ENV"] ||= "test"

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

require 'solidus_support/extension/feature_helper'

require 'selenium-webdriver'
Capybara.javascript_driver = :selenium_chrome_headless

require 'braintree'

Dir[File.join(File.dirname(__FILE__), "support/**/*.rb")].each { |f| require f }

RSpec.configure do |config|
  config.infer_spec_type_from_file_location!

  config.before :suite do
    # Don't log Braintree to STDOUT.
    Braintree::Configuration.logger = Logger.new("spec/dummy/tmp/log")
  end

  FactoryBot.find_definitions
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solidus_gateway-1.3.0 spec/spec_helper.rb