s/removes/discards/
This commit is contained in:
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
|
||||
|
Loading…
Reference in New Issue
Block a user