Permalink
Browse files

passing test for full url bouncing

  • Loading branch information...
1 parent 27a2ab3 commit d11a6eb151bc6a3136b10969d3090082855e1924 @substack committed Jan 15, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 test/bounce_url.js
View
@@ -26,6 +26,12 @@ test('bounce opts.path with a non-http abbreviated url', function (t) {
});
});
+test('bounce opts.path with a full url', function (t) {
+ testUrl(t, function (port, req, bounce) {
+ bounce('http://localhost:' + port + '/rewritten');
+ });
+});
+
function testUrl (t, bouncer) {
t.plan(4);

0 comments on commit d11a6eb

Please sign in to comment.