Skip to content

Commit

Permalink
Add failing test for skipping www/ in root style apps
Browse files Browse the repository at this point in the history
  • Loading branch information
edrex committed Mar 17, 2015
1 parent 948cab0 commit 62dbba5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Empty file added test/apps/compile/root/www/foo
Empty file.
10 changes: 10 additions & 0 deletions test/compile.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,16 @@ describe("compile", function(){
done()
})

it("should not include www", function(done) {
var rsp = fs.existsSync(path.join(outputPath, "www/foo"))
rsp.should.be.false

var rsp = fs.existsSync(path.join(outputPath, "www"))
rsp.should.be.false

done()
})

after(function(done){
exec("rm -rf " + path.join(projectPath, ".git"), function(){
done()
Expand Down

0 comments on commit 62dbba5

Please sign in to comment.