Skip to content

Commit

Permalink
failing test for shorthand url
Browse files Browse the repository at this point in the history
  • Loading branch information
James Halliday committed Jan 15, 2012
1 parent adb3fe8 commit fe15be7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/bounce_url.js
Expand Up @@ -14,6 +14,12 @@ test('bounce opts.path with separate port', function (t) {
});
});

test('bounce opts.path with a shorthand url', function (t) {
testUrl(t, function (port, req, bounce) {
bounce(':' + port + '/rewritten');
});
});

function testUrl (t, bouncer) {
t.plan(4);

Expand Down

0 comments on commit fe15be7

Please sign in to comment.