aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2012-06-10 00:35:18 +0200
committerXavier Noria <fxn@hashref.com>2012-06-10 00:38:40 +0200
commitd3a99c32d172a30709fd45506e120c335cb3d929 (patch)
tree1afdacf3a416702fd50fa168bcdb105d5343ffe4 /activesupport/test
parent6bd729e86f4ead25fe614a76aa652425f1d73942 (diff)
downloadrails-d3a99c32d172a30709fd45506e120c335cb3d929.tar.gz
rails-d3a99c32d172a30709fd45506e120c335cb3d929.tar.bz2
rails-d3a99c32d172a30709fd45506e120c335cb3d929.zip
removes the obsolete require_association method from dependencies
This is an obsolete method from the very early days, apparently it was used circa 2004 because STI support was not smart enough. This method is not public interface, and we are heading a major version, so removal seems right.
Diffstat (limited to 'activesupport/test')
-rw-r--r--activesupport/test/dependencies_test.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/activesupport/test/dependencies_test.rb b/activesupport/test/dependencies_test.rb
index 081e6a16fd..f622c6b43f 100644
--- a/activesupport/test/dependencies_test.rb
+++ b/activesupport/test/dependencies_test.rb
@@ -60,10 +60,6 @@ class DependenciesTest < ActiveSupport::TestCase
assert_raise(MissingSourceFile) { require_dependency("missing_service") }
end
- def test_missing_association_raises_nothing
- assert_nothing_raised { require_association("missing_model") }
- end
-
def test_dependency_which_raises_exception_isnt_added_to_loaded_set
with_loading do
filename = 'dependencies/raises_exception'