Skip to content

Commit

Permalink
disable config.action_controller.raise_on_missing_callback_actions
Browse files Browse the repository at this point in the history
gives a lot of errors where we use a callback from ApplicationController, but the current controller doesn't support all the actions
  • Loading branch information
stuzart committed Jan 14, 2025
1 parent a141b7a commit 68d9ba1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/environments/test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
config.assets.digest = false

# Raise error when a before_action's only/except options reference missing actions.
config.action_controller.raise_on_missing_callback_actions = true
config.action_controller.raise_on_missing_callback_actions = false

# TODO: Change this to: `:random` when tests are all passing
config.active_support.test_order = :sorted
Expand Down

0 comments on commit 68d9ba1

Please sign in to comment.