1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix typo in test name

This commit is contained in:
Carlos Antonio da Silva 2019-08-07 13:46:15 -03:00
parent e39efdb87a
commit 683e1c7d18

View file

@ -798,7 +798,7 @@ class CalculationsTest < ActiveRecord::TestCase
assert_equal expected, actual
end
def test_group_by_with_qouted_count_and_order_by_alias
def test_group_by_with_quoted_count_and_order_by_alias
quoted_posts_id = Post.connection.quote_table_name("posts.id")
expected = { "SpecialPost" => 1, "StiPost" => 1, "Post" => 9 }
actual = Post.group(:type).order("count_posts_id").count(quoted_posts_id)