Permalink
Browse files

Fix test: Local URL does not appear when offline.

The "also available locally" text with the local network IP
does not appear when the computer is not connected to any
network -- like when you have Wi-Fi turned off, for example.

This causes false failures when offline, so remove the check.
The local IP display is supposed to be optional.
  • Loading branch information...
1 parent ef1ad29 commit a2773f8913b8dcd676cecd4a0a0f3af7680cb39a @reid committed Nov 21, 2012
Showing with 0 additions and 2 deletions.
  1. +0 −2 test/cli.js
View
@@ -154,7 +154,6 @@ vows.describe("Yeti CLI").addBatch({
},
"waits for agents to connect on stderr": function (topic) {
assert.include(topic.output, "Waiting for agents to connect");
- assert.include(topic.output, "also available locally at");
},
"prompts on the writableStream": function (topic) {
assert.include(topic.output, "When ready, press Enter");
@@ -228,7 +227,6 @@ vows.describe("Yeti CLI").addBatch({
},
"waits for agents to connect on stderr": function (topic) {
assert.include(topic.output, "Waiting for agents to connect");
- assert.include(topic.output, "also available locally at");
},
"prompts on the writableStream": function (topic) {
assert.include(topic.output, "When ready, press Enter");

0 comments on commit a2773f8

Please sign in to comment.