aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorRuben Davila <rdavila84@gmail.com>2012-03-17 12:22:54 -0500
committerRuben Davila <rdavila84@gmail.com>2012-03-17 12:22:54 -0500
commit9679d4015ea64b486bf7512ed975a7e9a88459fb (patch)
treee4588868dba5902ba9000123cad5ba56a6495a31 /activerecord
parent6ce54d4ba8c220a84e55e7dd798d364c3f48d9f7 (diff)
downloadrails-9679d4015ea64b486bf7512ed975a7e9a88459fb.tar.gz
rails-9679d4015ea64b486bf7512ed975a7e9a88459fb.tar.bz2
rails-9679d4015ea64b486bf7512ed975a7e9a88459fb.zip
Fix typo in ActiveRecord::Relation#blank? test
Diffstat (limited to 'activerecord')
-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 63d47f5162..3edc237c44 100644
--- a/activerecord/test/cases/relations_test.rb
+++ b/activerecord/test/cases/relations_test.rb
@@ -1238,7 +1238,7 @@ class RelationTest < ActiveRecord::TestCase
def test_presence
topics = Topic.scoped
- # the fist query is triggered because there are no topics yet.
+ # the first query is triggered because there are no topics yet.
assert_queries(1) { assert topics.present? }
# checking if there are topics is used before you actually display them,