Skip to content
Browse files

require.paths is gone

  • Loading branch information...
1 parent fb9c1a8 commit 22e31635d3585dea88e2354db742c7bbefc944fa @sstephenson committed Dec 30, 2011
Showing with 1 addition and 3 deletions.
  1. +1 −3 test/test_eco.coffee
View
4 test/test_eco.coffee
@@ -125,9 +125,7 @@ module.exports =
test.done()
"requiring eco templates as modules": (test) ->
- require.paths.unshift __dirname + "/fixtures"
-
- hello = require "hello.eco"
+ hello = require __dirname + "/fixtures/hello.eco"
test.ok typeof hello is "function"
test.same fixture("hello.out.1"), hello name: "Sam"

0 comments on commit 22e3163

Please sign in to comment.
Something went wrong with that request. Please try again.