test/support/tests_autoloading.rb in truck-0.8.4 vs test/support/tests_autoloading.rb in truck-0.8.6
- old
+ new
@@ -2,9 +2,10 @@
def setup
@foo = Truck.define_context :Foo, root: "/foo"
@bar = Truck.define_context :Bar, root: '/bar', parent: :Foo
@my_app = Truck.define_context :MyApp, root: "/my_app", autoload_paths: %w(lib)
@multi = Truck.define_context :MultipleAutoloadPaths, root: "/", autoload_paths: %w(foo bar)
+ @extend = Truck.define_context :Extend, root: "/extend", autoload_paths: %w(app lib)
Truck.boot!
assert_nil Truck::Autoloader.current_autoloader
end
def teardown