1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Remove assert_not_called Object#=~ here for Ruby 3.2 compat

This commit is contained in:
Zachary Scott 2022-01-09 14:50:10 +09:00
parent d6bf7d9723
commit 1414a15327

View file

@ -32,10 +32,8 @@ module ActiveRecord
test "#order! on non-string does not attempt regexp match for references" do
obj = Object.new
assert_not_called(obj, :=~) do
assert relation.order!(obj)
assert_equal [obj], relation.order_values
end
assert relation.order!(obj)
assert_equal [obj], relation.order_values
end
test "extending!" do