summaryrefslogtreecommitdiff
path: root/spec/controllers/concerns/graceful_timeout_handling_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/controllers/concerns/graceful_timeout_handling_spec.rb')
-rw-r--r--spec/controllers/concerns/graceful_timeout_handling_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/concerns/graceful_timeout_handling_spec.rb b/spec/controllers/concerns/graceful_timeout_handling_spec.rb
index cece36f06b2..e496d12856b 100644
--- a/spec/controllers/concerns/graceful_timeout_handling_spec.rb
+++ b/spec/controllers/concerns/graceful_timeout_handling_spec.rb
@@ -9,7 +9,7 @@ RSpec.describe GracefulTimeoutHandling, type: :controller do
skip_before_action :authenticate_user!
def index
- raise ActiveRecord::QueryCanceled.new
+ raise ActiveRecord::QueryCanceled
end
end