File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -444,7 +444,7 @@ class ::SpecialReply < ::Reply
444
444
assert_not Car . counter_cache_column? ( "cars_count" )
445
445
end
446
446
447
- test "inactive conter cache" do
447
+ test "inactive counter cache" do
448
448
car = Car . new
449
449
car . bulbs = [ Bulb . new , Bulb . new ]
450
450
car . save!
@@ -461,7 +461,7 @@ class ::SpecialReply < ::Reply
461
461
end
462
462
end
463
463
464
- test "active conter cache" do
464
+ test "active counter cache" do
465
465
car = Car . new
466
466
car . tyres = [ Tyre . new , Tyre . new ]
467
467
car . save!
Original file line number Diff line number Diff line change @@ -1156,9 +1156,9 @@ def test_implicit_order_column_prepends_query_constraints
1156
1156
ClothingItem . implicit_order_column = "description"
1157
1157
quoted_type = Regexp . escape ( c . quote_table_name ( "clothing_items.clothing_type" ) )
1158
1158
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" ) )
1160
1160
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
1162
1162
assert_kind_of ClothingItem , ClothingItem . first
1163
1163
end
1164
1164
ensure
You can’t perform that action at this time.
0 commit comments