Skip to content

Commit

Permalink
Set the pathname explicitly for phantomjs.
Browse files Browse the repository at this point in the history
  • Loading branch information
braddunbar committed Mar 3, 2015
1 parent 173d519 commit 6c63ef2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -831,6 +831,7 @@

test('unicode pathname with % in a parameter', 1, function() {
location.replace('http://example.com/myyjä/foo%20%25%3F%2f%40%25%20bar');
location.pathname = '/myyj%C3%A4/foo%20%25%3F%2f%40%25%20bar';
Backbone.history.stop();
Backbone.history = _.extend(new Backbone.History, {location: location});
var Router = Backbone.Router.extend({
Expand Down

0 comments on commit 6c63ef2

Please sign in to comment.