Skip to content

Commit

Permalink
Update test.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-ju committed Jul 27, 2020
1 parent fb10060 commit 9062b25
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions spec/dummy/config/environments/test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,21 @@
# Show full error reports and disable caching.
config.consider_all_requests_local = true
config.action_controller.perform_caching = false
config.cache_store = :null_store

# Raise exceptions instead of rendering exception templates.
config.action_dispatch.show_exceptions = false

# Use a higher log level to avoid unnecessary clutter and disk IO.
config.log_level = :warn

# Disable request forgery protection in test environment.
config.action_controller.allow_forgery_protection = false
config.action_mailer.perform_caching = false

# Immediately discard cache in tests
config.cache_store = :null_store

# Tell Action Mailer not to deliver emails to the real world.
# The :test delivery method accumulates sent emails in the
# ActionMailer::Base.deliveries array.
Expand Down

0 comments on commit 9062b25

Please sign in to comment.