From af3d4ee45d60d5df55ffa97dcabe59420293ca20 Mon Sep 17 00:00:00 2001 From: "Alex Hunt ;)" Date: Wed, 3 Jul 2024 18:08:49 -0400 Subject: [PATCH] trying to replace raise_error --- spec/dummy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/dummy.rb b/spec/dummy.rb index d53980d..c622442 100644 --- a/spec/dummy.rb +++ b/spec/dummy.rb @@ -155,7 +155,7 @@ class NotesController < ActionController::Base include JSONAPI::Deserialization def update - raise_error if params[:id] == 'tada' + raise StandardError.new if params[:id] == 'tada' note = Note.find(params[:id])