Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
aidanharan committed Sep 20, 2023
1 parent b0dbf8f commit f354e98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/cases/coerced_tests.rb
Original file line number Diff line number Diff line change
Expand Up @@ -839,7 +839,7 @@ def test_in_batches_no_subqueries_for_whole_tables_batching_coerced
# TODO: Remove coerced test when https://github.com/rails/rails/pull/49269 merged.
coerce_tests! :test_in_batches_should_quote_batch_order
def test_in_batches_should_quote_batch_order_coerced
Post.connection
c = Post.connection
assert_sql(/ORDER BY #{Regexp.escape(c.quote_table_name('posts'))}\.#{Regexp.escape(c.quote_column_name('id'))}/) do
Post.in_batches(of: 1) do |relation|
assert_kind_of ActiveRecord::Relation, relation
Expand Down

0 comments on commit f354e98

Please sign in to comment.