test/integration/autoloading_test.rb in truck-0.8.3 vs test/integration/autoloading_test.rb in truck-0.8.4
- old
+ new
@@ -38,6 +38,10 @@
end
def test_explicit_autoload_paths
assert_equal 'hello from Bar::Z', MultipleAutoloadPaths::A.references_z
end
+
+ def test_reference_constants_in_included_class
+ assert_equal 'hello from B::BA', MyApp::IncludesFoo.message
+ end
end