Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
set migration_error to :page_load, redden spec
Browse files Browse the repository at this point in the history
  • Loading branch information
fwolfst committed Oct 2, 2024
1 parent 82479ac commit 6254e66
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/environments/test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@
# Annotate rendered view with file names.
# config.action_view.annotate_rendered_view_with_filenames = true

# Alert if there are pending migrations
# Makes specific specs fail
config.active_record.migration_error = :page_load

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

0 comments on commit 6254e66

Please sign in to comment.