2 # This file is part of SMR.
4 # SMR is free software: you can redistribute it and/or modify it under the
5 # terms of the GNU General Public License as published by the Free Software
6 # Foundation, either version 3 of the License, or (at your option) any later
9 # SMR is distributed in the hope that it will be useful, but WITHOUT ANY
10 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 # A PARTICULAR PURPOSE. See the GNU General Public License for more details.
13 # You should have received a copy of the GNU General Public License along with
14 # SMR. If not, see <http://www.gnu.org/licenses/>.
16 Smr::Application.configure do
17 # Settings specified here will take precedence over those in config/application.rb
19 # The test environment is used exclusively to run your application's
20 # test suite. You never need to work with it otherwise. Remember that
21 # your test database is "scratch space" for the test suite and is wiped
22 # and recreated between test runs. Don't rely on the data there!
23 config.cache_classes = true
25 # Do not eager load code on boot. This avoids loading your whole application
26 # just for the purpose of running a single test. If you are using a tool that
27 # preloads Rails for running tests, you may have to set it to true.
28 config.eager_load = false
30 # Log error messages when you accidentally call methods on nil.
31 config.whiny_nils = true
33 # Show full error reports and disable caching
34 config.consider_all_requests_local = true
35 config.action_controller.perform_caching = false
37 # Raise exceptions instead of rendering exception templates
38 config.action_dispatch.show_exceptions = false
40 # Disable request forgery protection in test environment
41 config.action_controller.allow_forgery_protection = false
43 # Tell Action Mailer not to deliver emails to the real world.
44 # The :test delivery method accumulates sent emails in the
45 # ActionMailer::Base.deliveries array.
46 config.action_mailer.delivery_method = :test
48 # Use SQL instead of Active Record's schema dumper when creating the test database.
49 # This is necessary if your schema can't be completely dumped by the schema dumper,
50 # like if you have constraints or database-specific column types
51 # config.active_record.schema_format = :sql
53 # Print deprecation notices to the stderr
54 config.active_support.deprecation = :stderr