diff options
author | Xavier Noria <fxn@hashref.com> | 2016-03-16 07:43:27 +0100 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2016-03-16 07:43:27 +0100 |
commit | dcea594e65d8a95a62cd88e25780605ad797eb82 (patch) | |
tree | 0320c28456b77c0f00f2ebf5c9a2939b0c662e8f /activesupport/test/dependencies_test.rb | |
parent | 4efb3608f04c57703016bc65f6081b03362047db (diff) | |
download | rails-dcea594e65d8a95a62cd88e25780605ad797eb82.tar.gz rails-dcea594e65d8a95a62cd88e25780605ad797eb82.tar.bz2 rails-dcea594e65d8a95a62cd88e25780605ad797eb82.zip |
s/removes/discards/
Diffstat (limited to 'activesupport/test/dependencies_test.rb')
-rw-r--r-- | activesupport/test/dependencies_test.rb | 4 |
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 |