Skip to content

Commit

Permalink
Merge pull request #3524 from braddunbar/phantom-pathname
Browse files Browse the repository at this point in the history
Set the pathname explicitly for phantomjs.
  • Loading branch information
akre54 committed Mar 3, 2015
2 parents 173d519 + 6c63ef2 commit bdf0999
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 bdf0999

Please sign in to comment.