aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2017-01-03 19:04:36 -0500
committerRafael Mendonça França <rafaelmfranca@gmail.com>2017-01-03 19:04:36 -0500
commit9d40d9bf18a47dcb79f0e941040b96d878186ac3 (patch)
tree638cabb6361e362cc3f239a94d2a81ea4693039f
parent23e490d8c82832a967de4fe09a8ad6994bbaeafc (diff)
parent52ba03438e296fce53828a66acf63365c914e44c (diff)
downloadrails-9d40d9bf18a47dcb79f0e941040b96d878186ac3.tar.gz
rails-9d40d9bf18a47dcb79f0e941040b96d878186ac3.tar.bz2
rails-9d40d9bf18a47dcb79f0e941040b96d878186ac3.zip
Merge pull request #27560 from kamipo/fix_test_name_deprecated_to_not_permitted
Fix test name `deprecated` to `not_permitted`
-rw-r--r--activerecord/test/cases/finder_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/cases/finder_test.rb b/activerecord/test/cases/finder_test.rb
index ca22fe969c..97010b1fd9 100644
--- a/activerecord/test/cases/finder_test.rb
+++ b/activerecord/test/cases/finder_test.rb
@@ -117,7 +117,7 @@ class FinderTest < ActiveRecord::TestCase
assert_equal "The Fourth Topic of the day", records[2].title
end
- def test_find_passing_active_record_object_is_deprecated
+ def test_find_passing_active_record_object_is_not_permitted
assert_raises(ArgumentError) do
Topic.find(Topic.last)
end
@@ -167,7 +167,7 @@ class FinderTest < ActiveRecord::TestCase
assert_equal false, relation.exists?(false)
end
- def test_exists_passing_active_record_object_is_not_permited
+ def test_exists_passing_active_record_object_is_not_permitted
assert_raises(ArgumentError) do
Topic.exists?(Topic.new)
end