Skip to content

Commit 98f744a

Browse files
authored
Merge pull request rails#52324 from nisusam/fix_test_typo
Fix typo from tests [ci skip]
2 parents 4835c94 + bb33c5c commit 98f744a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

activerecord/test/cases/counter_cache_test.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ class ::SpecialReply < ::Reply
444444
assert_not Car.counter_cache_column?("cars_count")
445445
end
446446

447-
test "inactive conter cache" do
447+
test "inactive counter cache" do
448448
car = Car.new
449449
car.bulbs = [Bulb.new, Bulb.new]
450450
car.save!
@@ -461,7 +461,7 @@ class ::SpecialReply < ::Reply
461461
end
462462
end
463463

464-
test "active conter cache" do
464+
test "active counter cache" do
465465
car = Car.new
466466
car.tyres = [Tyre.new, Tyre.new]
467467
car.save!

activerecord/test/cases/finder_test.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1156,9 +1156,9 @@ def test_implicit_order_column_prepends_query_constraints
11561156
ClothingItem.implicit_order_column = "description"
11571157
quoted_type = Regexp.escape(c.quote_table_name("clothing_items.clothing_type"))
11581158
quoted_color = Regexp.escape(c.quote_table_name("clothing_items.color"))
1159-
quoted_descrption = Regexp.escape(c.quote_table_name("clothing_items.description"))
1159+
quoted_description = Regexp.escape(c.quote_table_name("clothing_items.description"))
11601160

1161-
assert_queries_match(/ORDER BY #{quoted_descrption} ASC, #{quoted_type} ASC, #{quoted_color} ASC LIMIT/i) do
1161+
assert_queries_match(/ORDER BY #{quoted_description} ASC, #{quoted_type} ASC, #{quoted_color} ASC LIMIT/i) do
11621162
assert_kind_of ClothingItem, ClothingItem.first
11631163
end
11641164
ensure

0 commit comments

Comments
 (0)