aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-05-20 12:36:57 -0700
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-05-20 12:36:57 -0700
commit46fcce9a55207b15c42b0b274a74d20e783b702f (patch)
tree4813957ce57e7ddf920b39540b1ac4786bf29e96
parent08a5b10eb1c750927c05e50f182e070c1321fb81 (diff)
parent45d059b401f4fdd926d263ad8a3195b5b2223a1c (diff)
downloadrails-46fcce9a55207b15c42b0b274a74d20e783b702f.tar.gz
rails-46fcce9a55207b15c42b0b274a74d20e783b702f.tar.bz2
rails-46fcce9a55207b15c42b0b274a74d20e783b702f.zip
Merge pull request #6408 from ivankukobko/master
Fixed typo in AR test name
-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