diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2019-01-14 21:53:13 -0500 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2019-01-17 16:08:32 -0500 |
commit | a7becf147afc85c354e5cfa519911a948d25fc4d (patch) | |
tree | cb6349d64c67d58e691600717493d13fb8a89cb8 /activerecord/test/cases/scoping | |
parent | f59b08119bc0c01a00561d38279b124abc82561b (diff) | |
download | rails-a7becf147afc85c354e5cfa519911a948d25fc4d.tar.gz rails-a7becf147afc85c354e5cfa519911a948d25fc4d.tar.bz2 rails-a7becf147afc85c354e5cfa519911a948d25fc4d.zip |
Remove delegation of missing methods in a relation to private methods of the class
Diffstat (limited to 'activerecord/test/cases/scoping')
-rw-r--r-- | activerecord/test/cases/scoping/named_scoping_test.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/activerecord/test/cases/scoping/named_scoping_test.rb b/activerecord/test/cases/scoping/named_scoping_test.rb index f707951a16..418a2ae04e 100644 --- a/activerecord/test/cases/scoping/named_scoping_test.rb +++ b/activerecord/test/cases/scoping/named_scoping_test.rb @@ -303,13 +303,6 @@ class NamedScopingTest < ActiveRecord::TestCase assert_equal "lifo", topic.author_name end - def test_deprecated_delegating_private_method - assert_deprecated do - scope = Topic.all.by_private_lifo - assert_not scope.instance_variable_get(:@delegate_to_klass) - end - end - def test_reserved_scope_names klass = Class.new(ActiveRecord::Base) do self.table_name = "topics" |