Skip to content

Commit

Permalink
[test] updated test to reflect making a call to retrieve token for th…
Browse files Browse the repository at this point in the history
…e session
  • Loading branch information
blakmatrix committed Feb 7, 2013
1 parent 79501fd commit 98f58bf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/commands/apps-test.js
Expand Up @@ -412,6 +412,8 @@ vows.describe('jitsu/commands/apps').addBatch({
authorized: true,
role: 'user'
}, { 'x-powered-by': 'Nodejitsu 0.6.14' })
.put('/users/tester/tokens/jitsu', {})
.reply(201, {"operation":"insert"}, { 'x-powered-by': 'Nodejitsu' })
.post('/apps/tester/example-app/available', {
name: 'example-app',
subdomain: 'example-app',
Expand Down Expand Up @@ -489,4 +491,4 @@ vows.describe('jitsu/commands/apps').addBatch({
process.chdir(mainDirectory);
assert.isNull(err);
})
}).export(module);
}).export(module);

0 comments on commit 98f58bf

Please sign in to comment.