diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2016-12-29 15:55:31 -0500 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2016-12-29 17:53:04 -0500 |
commit | d31a6d1384cd740c8518d0bf695b550d2a3a4e9b (patch) | |
tree | ebf38289a80e15c1263ed54f1b9cc8ebb6f931d9 /activerecord/test/cases | |
parent | 4fc3366d9d99a0eb19e45ad2bf38534efbf8c8ce (diff) | |
download | rails-d31a6d1384cd740c8518d0bf695b550d2a3a4e9b.tar.gz rails-d31a6d1384cd740c8518d0bf695b550d2a3a4e9b.tar.bz2 rails-d31a6d1384cd740c8518d0bf695b550d2a3a4e9b.zip |
Remove deprecated conditions parameter from `#destroy_all`
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r-- | activerecord/test/cases/relations_test.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/activerecord/test/cases/relations_test.rb b/activerecord/test/cases/relations_test.rb index 2421adb19c..b91d6ba673 100644 --- a/activerecord/test/cases/relations_test.rb +++ b/activerecord/test/cases/relations_test.rb @@ -1004,12 +1004,6 @@ class RelationTest < ActiveRecord::TestCase assert davids.loaded? end - def test_destroy_all_with_conditions_is_deprecated - assert_deprecated do - assert_difference("Author.count", -1) { Author.destroy_all(name: "David") } - end - end - def test_delete_all davids = Author.where(name: "David") |