Sha256: 223e3a0d4cb7859b1032728254031a1aacad77ed8a55c94052ff5dbd398bfdd8
Contents?: true
Size: 687 Bytes
Versions: 6
Compression:
Stored size: 687 Bytes
Contents
ENV["RAILS_ENV"] ||= "test" require File.expand_path("../dummy/config/environment.rb", __FILE__) require "rspec/rails" Rails.backtrace_cleaner.remove_silencers! # Load support files Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f } RSpec.configure do |config| config.mock_with :rspec config.use_transactional_fixtures = true config.infer_base_class_for_anonymous_controllers = false config.order = "random" config.infer_spec_type_from_file_location! config.include Devise::Test::ControllerHelpers, type: :controller config.include Warden::Test::Helpers, type: :feature Warden.test_mode! config.after :each do Warden.test_reset! end end
Version data entries
6 entries across 6 versions & 1 rubygems