Fix typo from tests [ci skip]

This commit is contained in:
nisusam 2024-07-13 23:35:09 +05:30
parent 6903ac45e8
commit bb33c5c902
2 changed files with 4 additions and 4 deletions

@ -444,7 +444,7 @@ class ::SpecialReply < ::Reply
assert_not Car.counter_cache_column?("cars_count")
end
test "inactive conter cache" do
test "inactive counter cache" do
car = Car.new
car.bulbs = [Bulb.new, Bulb.new]
car.save!
@ -461,7 +461,7 @@ class ::SpecialReply < ::Reply
end
end
test "active conter cache" do
test "active counter cache" do
car = Car.new
car.tyres = [Tyre.new, Tyre.new]
car.save!

@ -1156,9 +1156,9 @@ def test_implicit_order_column_prepends_query_constraints
ClothingItem.implicit_order_column = "description"
quoted_type = Regexp.escape(c.quote_table_name("clothing_items.clothing_type"))
quoted_color = Regexp.escape(c.quote_table_name("clothing_items.color"))
quoted_descrption = Regexp.escape(c.quote_table_name("clothing_items.description"))
quoted_description = Regexp.escape(c.quote_table_name("clothing_items.description"))
assert_queries_match(/ORDER BY #{quoted_descrption} ASC, #{quoted_type} ASC, #{quoted_color} ASC LIMIT/i) do
assert_queries_match(/ORDER BY #{quoted_description} ASC, #{quoted_type} ASC, #{quoted_color} ASC LIMIT/i) do
assert_kind_of ClothingItem, ClothingItem.first
end
ensure