test/integration/autoloading_test.rb in truck-0.8.0 vs test/integration/autoloading_test.rb in truck-0.8.1
- old
+ new
@@ -34,6 +34,10 @@
exception = assert_raises NameError do
Abracadabra
end
assert_equal "uninitialized constant Abracadabra", exception.message
end
+
+ def test_explicit_autoload_paths
+ assert_equal 'hello from Bar::Z', MultipleAutoloadPaths::A.references_z
+ end
end