From dcea594e65d8a95a62cd88e25780605ad797eb82 Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Wed, 16 Mar 2016 07:43:27 +0100 Subject: s/removes/discards/ --- activesupport/test/dependencies_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'activesupport') 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 -- cgit v1.2.3