diff --git a/activerecord/test/cases/counter_cache_test.rb b/activerecord/test/cases/counter_cache_test.rb index 51392978c2..9caa2f9ad6 100644 --- a/activerecord/test/cases/counter_cache_test.rb +++ b/activerecord/test/cases/counter_cache_test.rb @@ -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! diff --git a/activerecord/test/cases/finder_test.rb b/activerecord/test/cases/finder_test.rb index 8d619d54a1..8dda170dac 100644 --- a/activerecord/test/cases/finder_test.rb +++ b/activerecord/test/cases/finder_test.rb @@ -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