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:
parent
e39efdb87a
commit
683e1c7d18
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue