Permalink
Browse files

Fix test for prefixed clone

  • Loading branch information...
1 parent 807d51d commit 0796be68571e970ffa30d561fe1722fdddb5e541 @1602 committed Jun 17, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/routes.test.js
View
@@ -251,7 +251,7 @@ test('should be optional to specify controller#action', function () {
test('should clone object with prefix', function() {
map.get('/test/url', 'test#url', {as: 'testUrl'});
- var clone = map.clone('prefix');
+ var clone = map.clone('/prefix');
map.pathTo.testUrl().should.equal('/test/url');
map.pathTo.testUrl().should.equal('/test/url');
clone.testUrl().should.equal('/prefix/test/url');

0 comments on commit 0796be6

Please sign in to comment.