test/unit/context_test.rb in truck-0.8.2 vs test/unit/context_test.rb in truck-0.8.3
- old
+ new
@@ -61,16 +61,9 @@
refute Foo.const_defined?(:A)
@context.eager_load!
assert Foo.const_defined?(:A)
end
- def test_reload_drops_constant_references
- @context.eager_load!
- assert Foo.const_defined?(:A)
- @context.reload!
- refute Foo.const_defined?(:A)
- end
-
def test_shutdown_removes_const
assert @context.booted?
@context.shutdown!
refute @context.booted?
end