Skip to content

Commit

Permalink
update deps, fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Escalante committed Jan 22, 2015
1 parent 0658042 commit 45e3394
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
6 changes: 4 additions & 2 deletions bin/roots
Expand Up @@ -4,8 +4,10 @@ require('coffee-script/register');
var cli = new (require('../lib/cli')),
pkg = require('../package.json')
notifier = require('update-notifier')({
packageName: pkg.name,
packageVersion: pkg.version
pkg: {
name: pkg.name,
version: pkg.version
}
});

// new version notification
Expand Down
8 changes: 4 additions & 4 deletions package.json
Expand Up @@ -29,7 +29,7 @@
"graceful-fs": "3.x",
"keen.io": "^0.1.2",
"lodash": "2.x",
"minimatch": "1.x",
"minimatch": "2.x",
"mkdirp": "0.5.x",
"npm": "2.x",
"open": "0.0.5",
Expand All @@ -38,20 +38,20 @@
"serve-static": "1.x",
"ship": "0.2.x",
"sprout": "0.1.x",
"update-notifier": "0.2.x",
"update-notifier": "0.3.x",
"vinyl": "0.4.x",
"when": "3.x"
},
"devDependencies": {
"chai": "1.x",
"chai-as-promised": "4.x",
"chai-fs": "0.1.x",
"chai-webdriver": "0.9.x",
"chai-webdriver": "1.x",
"coffeelint": "1.x",
"coveralls": "2.x",
"glob": "4.x",
"istanbul": "0.3.x",
"mocha": "1.x",
"mocha": "2.x",
"mocha-lcov-reporter": "0.0.1",
"mockery": "1.x",
"phantomjs": "1.x",
Expand Down
3 changes: 1 addition & 2 deletions test/deploy.coffee
Expand Up @@ -41,11 +41,10 @@ describe 'deploy', ->

it 'compiles with app.production.coffee if available', ->
p = path.join(base_path, 'deploy/production')
project = new Roots(p)
project = new Roots(p, env: 'production')

project.deploy(to: 'nowhere')
.then -> path.join(p, 'public/index.html').should.have.content('production')
.catch(console.log)
.should.be.fulfilled

it 'compiles with another environment if available', ->
Expand Down

0 comments on commit 45e3394

Please sign in to comment.