aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
diff options
context:
space:
mode:
authorJon Moss <maclover7@users.noreply.github.com>2016-02-13 09:39:34 -0500
committerJon Moss <maclover7@users.noreply.github.com>2016-02-13 09:39:34 -0500
commit4e80c12de3058eafd6c4f209bc78d9e3f6e26a0f (patch)
tree8a6067dade5901889c72d35c2679be56595851f2 /activerecord/test
parent3974edb9ceff244e813358483a036d12578f7cca (diff)
parent1335959135b908c284e4d7179e9d8c1261f0ee95 (diff)
downloadrails-4e80c12de3058eafd6c4f209bc78d9e3f6e26a0f.tar.gz
rails-4e80c12de3058eafd6c4f209bc78d9e3f6e26a0f.tar.bz2
rails-4e80c12de3058eafd6c4f209bc78d9e3f6e26a0f.zip
Merge pull request #23654 from kamipo/fix_grammar_a_to_an
Fix grammar `a` to `an` [ci skip]
Diffstat (limited to 'activerecord/test')
-rw-r--r--activerecord/test/cases/finder_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/finder_test.rb b/activerecord/test/cases/finder_test.rb
index 75a74c052d..ba0400f799 100644
--- a/activerecord/test/cases/finder_test.rb
+++ b/activerecord/test/cases/finder_test.rb
@@ -101,7 +101,7 @@ class FinderTest < ActiveRecord::TestCase
def test_find_with_ids_where_and_limit
# Please note that Topic 1 is the only not approved so
- # if it were among the first 3 it would raise a ActiveRecord::RecordNotFound
+ # if it were among the first 3 it would raise an ActiveRecord::RecordNotFound
records = Topic.where(approved: true).limit(3).find([3,2,5,1,4])
assert_equal 3, records.size
assert_equal 'The Third Topic of the day', records[0].title