summaryrefslogtreecommitdiff
path: root/config/environments/test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/environments/test.rb')
-rw-r--r--config/environments/test.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/environments/test.rb b/config/environments/test.rb
index 6d1bd80..f044e5d 100644
--- a/config/environments/test.rb
+++ b/config/environments/test.rb
@@ -54,4 +54,11 @@ Rails.application.configure do
# Raise error when a before_action's only/except options reference missing actions
config.action_controller.raise_on_missing_callback_actions = true
+
+ # Bullet config.
+ config.after_initialize do
+ Bullet.enable = true
+ Bullet.bullet_logger = true
+ Bullet.raise = true
+ end
end