s/removes/discards/

This commit is contained in:
Xavier Noria 2016-03-16 07:43:27 +01:00
parent 4efb3608f0
commit dcea594e65

@ -269,7 +269,7 @@ def test_nested_class_can_access_sibling
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 @@ def test_raising_removes_autoloaded_constants
remove_constants(:RaisesArbitraryException)
end
def test_throwing_removes_autoloaded_constants
def test_throwing_discards_autoloaded_constants
with_autoloading_fixtures do
catch :t do
Throws