spec: fix Mina enabling Rails traces during tests
When requiring mina files, it automatically enables Rails traces. But we don't want Rails traces during tests. Fix this by disabling Rails traces before running tests. Fix #2989
This commit is contained in:
parent
7c6437b01a
commit
acc6df2662
1 changed files with 1 additions and 0 deletions
|
@ -81,6 +81,7 @@ end
|
|||
DatabaseCleaner.strategy = :transaction
|
||||
|
||||
TPS::Application.load_tasks
|
||||
Rake.application.options.trace = false
|
||||
|
||||
include Warden::Test::Helpers
|
||||
|
||||
|
|
Loading…
Reference in a new issue