mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #44128 from zzak/issue/44107
Remove assert_not_called Object#=~ here for Ruby 3.2 compat
This commit is contained in:
commit
c79ad9d227
1 changed files with 2 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue