From 7af332917518ba46152467cc9b81c72bf8b51687 Mon Sep 17 00:00:00 2001 From: Brad Dunbar Date: Sun, 4 Jan 2015 11:38:35 -0500 Subject: [PATCH] Ensure a search test fails when appropriate. --- test/router.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/router.js b/test/router.js index 1fa22e63c..07a7f1b7f 100644 --- a/test/router.js +++ b/test/router.js @@ -775,12 +775,12 @@ var Router = Backbone.Router.extend({ routes: { path: function(params){ - strictEqual(params, 'x=y z'); + strictEqual(params, 'x=y%3Fz'); } } }); var router = new Router; - Backbone.history.navigate('path?x=y%20z', true); + Backbone.history.navigate('path?x=y%3Fz', true); }); test('Navigate to a hash url.', function() {