We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ad0e312 + 75bdf05 commit 135af7bCopy full SHA for 135af7b
activerecord/test/cases/batches_test.rb
@@ -390,7 +390,7 @@ def test_in_batches_touch_all_affect_all_records
390
assert_queries_count(6 + 6) do # 6 selects, 6 updates
391
Developer.in_batches(of: 2).touch_all(time: time)
392
end
393
- assert_equal Developer.all.pluck(:updated_at), [time] * Developer.count
+ assert_equal [time] * Developer.count, Developer.all.pluck(:updated_at)
394
395
396
def test_in_batches_touch_all_returns_rows_affected
0 commit comments