Skip to content
This repository has been archived by the owner on Dec 1, 2017. It is now read-only.

Commit

Permalink
Removing notion of a list of root paths.
Browse files Browse the repository at this point in the history
  • Loading branch information
ozten committed Feb 11, 2012
1 parent 4f4a065 commit 17e8441
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/connect-cachify-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var cachify = require('../lib/connect-cachify'),
var resetConfig = function () {
cachify.setup({
production: true,
root: ['.'],
root: '.',
debug: false
});
};
Expand Down Expand Up @@ -78,7 +78,7 @@ exports.setup = nodeunit.testCase({
mddlwr,
links;
mddlwr = cachify.setup(assets, {
root: ['/tmp'],
root: '/tmp',
production: false,
debug: true});
links = cachify.cachify_js("/js/main.min.js").split('\n');
Expand All @@ -104,7 +104,7 @@ exports.setup = nodeunit.testCase({
},
mddlwr;
mddlwr = cachify.setup(assets, {
root: ['/tmp'],
root: '/tmp',
production: false
});
var links = cachify.cachify_js("/js/main.min.js").split('\n');
Expand Down Expand Up @@ -139,7 +139,7 @@ exports.setup = nodeunit.testCase({
mddlwr;
mddlwr = cachify.setup(
assets, {
root: ['/tmp']
root: '/tmp'
});
var links = cachify.cachify_js("/js/main.min.js");
test.equal(links, '<script src="/d41d8cd98f00b204e9800998ecf8427e/js/main.min.js"></script>',
Expand Down

0 comments on commit 17e8441

Please sign in to comment.