Skip to content

Commit 9ffb318

Browse files
authored
Fix deprecated warning message (#1069)
1 parent 399812c commit 9ffb318

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/cases/execute_procedure_test_sqlserver.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class ExecuteProcedureTestSQLServer < ActiveRecord::TestCase
4343
end
4444

4545
it 'test deprecation with transaction return when executing procedure' do
46-
assert_deprecated do
46+
assert_deprecated(ActiveRecord.deprecator) do
4747
ActiveRecord::Base.transaction do
4848
connection.execute_procedure("my_getutcdate")
4949
return

0 commit comments

Comments
 (0)