test/support/tests_autoloading.rb in truck-0.8.3 vs test/support/tests_autoloading.rb in truck-0.8.4

- old
+ new

@@ -1,8 +1,9 @@ module TestsAutoloading 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) Truck.boot! assert_nil Truck::Autoloader.current_autoloader end