Skip to content

Commit

Permalink
Only run excpetion settings change once
Browse files Browse the repository at this point in the history
  • Loading branch information
camillevilla committed Dec 26, 2023
1 parent 5d61073 commit cc3a723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/requests/errors_controller_spec.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'rails_helper'

RSpec.describe ErrorsController, type: :request do
before do # temporarily disable Puma server errors in test
before(:all) do # temporarily disable Puma server errors in test
Rails.application.config.consider_all_requests_local = false
Rails.application.config.action_dispatch.show_exceptions = true
Rails.application.config.action_dispatch.show_detailed_exceptions = false
Expand Down

0 comments on commit cc3a723

Please sign in to comment.