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:
Pierre de La Morinerie 2018-11-14 09:44:17 +00:00
parent 7c6437b01a
commit acc6df2662

View file

@ -81,6 +81,7 @@ end
DatabaseCleaner.strategy = :transaction
TPS::Application.load_tasks
Rake.application.options.trace = false
include Warden::Test::Helpers