test/unit/context_test.rb in truck-0.8.1 vs test/unit/context_test.rb in truck-0.8.2

- old
+ new

@@ -90,9 +90,13 @@ mod = context.resolve_const('B::BA') assert_kind_of Module, mod assert_equal 'MultipleAutoloadPaths::B::BA', mod.name end + + def test_root_defined_on_mod + assert_equal Pathname("/foo"), Foo.root + end private def assert_autoloaded_module(expected_name, mod) assert_kind_of Module, mod