Forward deprecation of tests to Rails 5
This commit is contained in:
parent
383f69c0b7
commit
9f6bcd12e4
1 changed files with 6 additions and 0 deletions
|
|
@ -12,6 +12,12 @@ Debshots::Application.configure do
|
|||
# preloads Rails for running tests, you may have to set it to true.
|
||||
config.eager_load = false
|
||||
|
||||
# ActiveRecord errors propagate normally (forward deprecation to Rails 5)
|
||||
config.active_record.raise_in_transactional_callbacks = true
|
||||
|
||||
# Test :sorted or :random. ":random" may be safer but harder to debug.
|
||||
config.active_support.test_order = :sorted
|
||||
|
||||
# Configure static asset server for tests with Cache-Control for performance.
|
||||
config.serve_static_files = true
|
||||
config.static_cache_control = "public, max-age=3600"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue