mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 14:44:47 +02:00
Improve test env config
This commit is contained in:
parent
73a96141b6
commit
19e0e7c8f8
1 changed files with 3 additions and 1 deletions
|
@ -40,7 +40,9 @@ Rails.application.configure do
|
|||
# Raises error for missing translations
|
||||
config.action_view.raise_on_missing_translations = true
|
||||
|
||||
config.cache_store = :null_store
|
||||
# If set to :null_store, Setting.x returns nil after first spec runs (database is emptied)
|
||||
config.cache_store = :memory_store
|
||||
config.logger = ActiveSupport::Logger.new(nil)
|
||||
end
|
||||
|
||||
Que.mode = :sync
|
Loading…
Add table
Add a link
Reference in a new issue