use strict;
use warnings;
-use Test::More tests => 15;
+use Test::More tests => 16;
use URI;
use_ok('Catalyst');
is( $warnings, 0, "no warnings emitted" );
}
+# Test with parameters '/', 'foo', 'bar' - should not generate a //
+is( Catalyst::uri_for( $context, qw| / foo bar | )->as_string,
+ 'http://127.0.0.1/foo/bar', 'uri is /foo/bar, not //foo/bar'
+);
+