mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
fixed typo in word finiding
This commit is contained in:
parent
08a5b10eb1
commit
45d059b401
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ class RelationTest < ActiveRecord::TestCase
|
|||
assert topics.loaded?
|
||||
end
|
||||
|
||||
def test_finiding_with_subquery
|
||||
def test_finding_with_subquery
|
||||
relation = Topic.where(:approved => true)
|
||||
assert_equal relation.to_a, Topic.select('*').from(relation).to_a
|
||||
assert_equal relation.to_a, Topic.select('subquery.*').from(relation).to_a
|
||||
|
|
Loading…
Reference in a new issue