From 5c51f4e8fe77093b612bf082fa339219966e1e18 Mon Sep 17 00:00:00 2001 From: Henry Snopek Date: Mon, 29 Sep 2014 10:49:36 -0500 Subject: [PATCH 1/2] lock devDependencies, roots, to 3.0.0-rc.10; remove peerDependencies; change roots-util to 0.1.x --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 47a037a..f076ef1 100644 --- a/package.json +++ b/package.json @@ -26,8 +26,8 @@ "istanbul": "*", "mocha-lcov-reporter": "*", "coveralls": "*", - "roots": "3.x", - "roots-util": "0.0.4" + "roots": "3.0.0-rc.10", + "roots-util": "0.1.x" }, "scripts": { "test": "npm run lint && mocha", From 360c0bc0fd637ee86379918decbccfdbdf4878a3 Mon Sep 17 00:00:00 2001 From: Henry Snopek Date: Wed, 19 Nov 2014 20:13:01 -0600 Subject: [PATCH 2/2] make compile_fixture promise compliant --- test/test.coffee | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/test.coffee b/test/test.coffee index c95fe21..3acf823 100644 --- a/test/test.coffee +++ b/test/test.coffee @@ -11,7 +11,7 @@ h = new RootsUtil.Helpers(base: _path) compile_fixture = (fixture_name, done) -> @public = path.join(fixture_name, 'public') - h.project.compile(Roots, fixture_name, done) + h.project.compile(Roots, fixture_name).done(done) before (done) -> h.project.install_dependencies('*', done) @@ -77,11 +77,11 @@ describe 'dynamic content', -> x._categories.length.should.eql 1 x._categories[0].should.eql 'posts' - + y._categories.length.should.eql 2 y._categories[0].should.eql 'posts' y._categories[1].should.eql 'nested' - + z._categories.length.should.eql 3 z._categories[0].should.eql 'posts' z._categories[1].should.eql 'nested'