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:
parent
d6bf7d9723
commit
1414a15327
1 changed files with 2 additions and 4 deletions
|
@ -32,11 +32,9 @@ 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
|
||||
end
|
||||
|
||||
test "extending!" do
|
||||
mod, mod2 = Module.new, Module.new
|
||||
|
|
Loading…
Reference in a new issue