Sha256: 8c3606a7ff096bad928c2c62c7171615ff61b00180b3d9f60ae75565710fd7ed
Contents?: true
Size: 1.3 KB
Versions: 4
Compression:
Stored size: 1.3 KB
Contents
# frozen_string_literal: true require_relative 'boot' require 'action_controller/railtie' require 'action_view/railtie' require 'action_mailer/railtie' begin require 'sprockets/railtie' rescue LoadError # rubocop:disable Lint/HandleExceptions end Bundler.require(*Rails.groups) require 'bemer' module Dummy class Application < ::Rails::Application config.cache_classes = true # Do not eager load code on boot. This avoids loading your whole application # just for the purpose of running a single test. If you are using a tool that # preloads Rails for running tests, you may have to set it to true. config.eager_load = false # Show full error reports and disable caching. config.consider_all_requests_local = true config.action_controller.perform_caching = false # Raise exceptions instead of rendering exception templates. config.action_dispatch.show_exceptions = false # Disable request forgery protection in test environment. config.action_controller.allow_forgery_protection = false # Print deprecation notices to the stderr. config.active_support.deprecation = :stderr config.secret_key_base = 'secret_key_base' unless ENV['RAILS_ENABLE_TEST_LOG'] config.logger = Logger.new(nil) config.log_level = :fatal end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
bemer-0.6.0 | spec/dummy/config/application.rb |
bemer-0.5.0 | spec/dummy/config/application.rb |
bemer-0.4.0 | spec/dummy/config/application.rb |
bemer-0.3.0 | spec/dummy/config/application.rb |