Sha256: cc7dca34f7f1b462e68a5986d2700d0ff1b585676b84c422d719cb530128143f
Contents?: true
Size: 669 Bytes
Versions: 5
Compression:
Stored size: 669 Bytes
Contents
# Configure Rails Environment ENV["RAILS_ENV"] = "test" ENV["RAILS_DATAROOT"] = "/dev/null" require File.expand_path("../dummy/config/environment.rb", __FILE__) require "rails/test_help" # dependencies that dummy app depends on require "bootstrap_form" Rails.backtrace_cleaner.remove_silencers! # Load support files Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f } # install the rails 5 gem require 'rails-controller-testing' Rails::Controller::Testing.install # Load fixtures from the engine if ActiveSupport::TestCase.method_defined?(:fixture_path=) ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__) end
Version data entries
5 entries across 5 versions & 1 rubygems