From 1c245c483122ef8586fa64d1769de945a9844605 Mon Sep 17 00:00:00 2001 From: Jon Rowe <hello@jonrowe.co.uk> Date: Tue, 22 Oct 2024 22:34:49 +0100 Subject: [PATCH] Remove deprecated raise_error --- spec/rspec/its_spec.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/spec/rspec/its_spec.rb b/spec/rspec/its_spec.rb index 239b2e4..9f894df 100644 --- a/spec/rspec/its_spec.rb +++ b/spec/rspec/its_spec.rb @@ -270,7 +270,6 @@ def bad end its(:good) { will_not raise_error } - its(:bad) { will raise_error } its(:bad) { will raise_error(ArgumentError) } its(:bad) { will raise_error("message") } its(:bad) { will raise_error(ArgumentError, "message") }