Skip to content

Commit

Permalink
[test] updated test to reflect 404 when user saves to a filename and …
Browse files Browse the repository at this point in the history
…no app
  • Loading branch information
blakmatrix committed Dec 11, 2012
1 parent 6ba79b9 commit ef3d731
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/commands/env-test.js
Expand Up @@ -357,6 +357,12 @@ vows.describe('jitsu/commands/env').addBatch({
function setup() {
jitsu.prompt.override.confirm = 'yes';
nock('http://api.mockjitsu.com')
.get('/apps/tester/env_vars.json')
.reply(400, {
result: {
error: 'not_found'
}
}, { 'x-powered-by': 'Nodejitsu' })
.get('/apps/tester/jitsu')
.reply(200, {
app: {
Expand Down

0 comments on commit ef3d731

Please sign in to comment.