Skip to content

Commit f43c478

Browse files
yahondaclaude
andcommitted
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) <noreply@anthropic.com>
1 parent d57a0a5 commit f43c478

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spec/plsql/procedure_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959

6060
["VARCHAR", "VARCHAR2"].each do |datatype|
6161
describe "Function with #{datatype} parameters" do
62-
it_should_behave_like "Function with string parameters", datatype
62+
it_behaves_like "Function with string parameters", datatype
6363
end
6464
end
6565

0 commit comments

Comments
 (0)