]> git.openstreetmap.org Git - rails.git/blobdiff - config/environments/test.rb
Update bundle
[rails.git] / config / environments / test.rb
index 482b1fb4c750b86bcea97c0e0e1a80548139fc45..38975deef664b54cb6332be608fb142fa7c3fe8a 100644 (file)
@@ -41,6 +41,12 @@ Rails.application.configure do
   # Print deprecation notices to the stderr.
   config.active_support.deprecation = :stderr
 
+  # Export translations automatically
+  config.middleware.use I18n::JS::Middleware
+
   # Raises error for missing translations
   config.action_view.raise_on_missing_translations = true
+
+  # Use the test adapter for ActiveJob during testing
+  config.active_job.queue_adapter = :test
 end