diff options
Diffstat (limited to 'activerecord/test/cases/method_scoping_test.rb')
-rw-r--r-- | activerecord/test/cases/method_scoping_test.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/activerecord/test/cases/method_scoping_test.rb b/activerecord/test/cases/method_scoping_test.rb index 3a6354ec6d..cb599e363f 100644 --- a/activerecord/test/cases/method_scoping_test.rb +++ b/activerecord/test/cases/method_scoping_test.rb @@ -587,18 +587,6 @@ class HasAndBelongsToManyScopingTest< ActiveRecord::TestCase end end -class ClearDefaultScopeTest < ActiveRecord::TestCase - fixtures :developers - - def test_should_clear_default_scope - klass = Class.new(DeveloperCalledDavid) - klass.__send__ :clear_default_scope - expected = Developer.all.collect { |dev| dev.name } - actual = klass.all.collect { |dev| dev.name } - assert_equal expected, actual - end -end - class DefaultScopingTest < ActiveRecord::TestCase fixtures :developers, :posts |