aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--activesupport/test/dependencies_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/test/dependencies_test.rb b/activesupport/test/dependencies_test.rb
index efe2c9a498..dd817af2c5 100644
--- a/activesupport/test/dependencies_test.rb
+++ b/activesupport/test/dependencies_test.rb
@@ -269,7 +269,7 @@ class DependenciesTest < ActiveSupport::TestCase
remove_constants(:ModuleFolder)
end
- def test_raising_removes_autoloaded_constants
+ def test_raising_discards_autoloaded_constants
with_autoloading_fixtures do
assert_raises(Exception, 'arbitray exception message') { RaisesArbitraryException }
assert !Object.const_defined?(:RaisesArbitraryException)
@@ -278,7 +278,7 @@ class DependenciesTest < ActiveSupport::TestCase
remove_constants(:RaisesArbitraryException)
end
- def test_throwing_removes_autoloaded_constants
+ def test_throwing_discards_autoloaded_constants
with_autoloading_fixtures do
catch :t do
Throws