Permalink
Browse files

[tests] now jitsu.start() call /endpoints to give located url

  • Loading branch information...
1 parent 131fb70 commit dfb77c482fd9b682cf6d70447794f7404fc406a6 @cronopio cronopio committed Feb 12, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 test/commands/snapshots-test.js
View
2 test/commands/snapshots-test.js
@@ -103,6 +103,8 @@ vows.describe('jitsu/commands/snapshots').addBatch({
.reply(200, '', { 'x-powered-by': 'Nodejitsu' })
.post('/apps/tester/application2/start', {})
.reply(200, '', { 'x-powered-by': 'Nodejitsu' })
+ .get('/endpoints')
+ .reply(200, endpoints, { 'x-powered-by': 'Nodejitsu' })
.get('/apps/tester/application2', '')
.reply(200, { app: {
subdomain: "tester.application2"

0 comments on commit dfb77c4

Please sign in to comment.