Skip to content

Commit 0b109ce

Browse files
authored
Set Prosopite.raise to true in test environment
Enable raising errors for N+1 queries in tests. Signed-off-by: Jasper Mayone <mayonej@wit.edu>
1 parent 886a0e8 commit 0b109ce

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

config/environments/test.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
Rails.application.configure do
99
config.after_initialize do
1010
Prosopite.rails_logger = true
11-
# N+1 queries are logged but do not fail tests; fix them in a follow-up PR.
12-
Prosopite.raise = false
11+
Prosopite.raise = true
1312
end
1413

1514
# Use test adapter for ActiveJob in test environment

0 commit comments

Comments
 (0)