From f43c478773dc7dbfcfcddcd410a9f42f2ac8ab0c Mon Sep 17 00:00:00 2001 From: Yasuo Honda Date: Thu, 7 May 2026 19:11:21 +0900 Subject: [PATCH] Replace it_should_behave_like with it_behaves_like rspec-core removed the it_should_behave_like alias in commit 0f6a94ab ("Remove `it_should_behave_like`", merged via rspec/rspec-core#2864 "Remove deprecations"), so calls to it now raise NoMethodError under RSpec 4.0.0.beta1. The canonical it_behaves_like has been the documented form since RSpec 2 and behaves identically on RSpec 3 and 4, so this is a backwards- compatible swap. Convert the only remaining it_should_behave_like in spec/plsql/procedure_spec.rb (line 62, the VARCHAR/VARCHAR2 shared example invocation) to it_behaves_like. Co-Authored-By: Claude Opus 4.7 (1M context) --- spec/plsql/procedure_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/plsql/procedure_spec.rb b/spec/plsql/procedure_spec.rb index 9d49d9a..9951d58 100644 --- a/spec/plsql/procedure_spec.rb +++ b/spec/plsql/procedure_spec.rb @@ -59,7 +59,7 @@ ["VARCHAR", "VARCHAR2"].each do |datatype| describe "Function with #{datatype} parameters" do - it_should_behave_like "Function with string parameters", datatype + it_behaves_like "Function with string parameters", datatype end end