aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Kukobko <johnny.da.kid@gmail.com>2012-05-20 22:11:32 +0300
committerIvan Kukobko <johnny.da.kid@gmail.com>2012-05-20 22:11:32 +0300
commit45d059b401f4fdd926d263ad8a3195b5b2223a1c (patch)
tree4813957ce57e7ddf920b39540b1ac4786bf29e96
parent08a5b10eb1c750927c05e50f182e070c1321fb81 (diff)
downloadrails-45d059b401f4fdd926d263ad8a3195b5b2223a1c.tar.gz
rails-45d059b401f4fdd926d263ad8a3195b5b2223a1c.tar.bz2
rails-45d059b401f4fdd926d263ad8a3195b5b2223a1c.zip
fixed typo in word finiding
-rw-r--r--activerecord/test/cases/relations_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/relations_test.rb b/activerecord/test/cases/relations_test.rb
index 4a56ae0d23..2dc8f0053b 100644
--- a/activerecord/test/cases/relations_test.rb
+++ b/activerecord/test/cases/relations_test.rb
@@ -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