1
0
Fork 0
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:
Ivan Kukobko 2012-05-20 22:11:32 +03:00
parent 08a5b10eb1
commit 45d059b401

View file

@ -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