diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2016-12-30 14:44:34 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-30 14:44:34 -0500 |
commit | 5c76d01086009e5b40cb429a5e78cc41c5170543 (patch) | |
tree | 5b15118ef9ce185ff72ecca30e31db26be80b872 /activerecord/test/cases/relations_test.rb | |
parent | 18325d733360fc864eb800d95e56f404dfeeb7d6 (diff) | |
parent | c6dcc37bee7e02066457cbbb4a7f3dbbc22159be (diff) | |
download | rails-5c76d01086009e5b40cb429a5e78cc41c5170543.tar.gz rails-5c76d01086009e5b40cb429a5e78cc41c5170543.tar.bz2 rails-5c76d01086009e5b40cb429a5e78cc41c5170543.zip |
Merge pull request #27509 from kamipo/remove_remaining_deprecations
Remove remaining ActiveRecord deprecations
Diffstat (limited to 'activerecord/test/cases/relations_test.rb')
-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 820e0fdae4..9519fec0c4 100644 --- a/activerecord/test/cases/relations_test.rb +++ b/activerecord/test/cases/relations_test.rb @@ -1633,17 +1633,11 @@ class RelationTest < ActiveRecord::TestCase assert_equal ["Foo", "Foo"], query.map(&:name) assert_sql(/DISTINCT/) do assert_equal ["Foo"], query.distinct.map(&:name) - assert_deprecated { assert_equal ["Foo"], query.uniq.map(&:name) } end assert_sql(/DISTINCT/) do assert_equal ["Foo"], query.distinct(true).map(&:name) - assert_deprecated { assert_equal ["Foo"], query.uniq(true).map(&:name) } end assert_equal ["Foo", "Foo"], query.distinct(true).distinct(false).map(&:name) - - assert_deprecated do - assert_equal ["Foo", "Foo"], query.uniq(true).uniq(false).map(&:name) - end end def test_doesnt_add_having_values_if_options_are_blank |