Skip to content

Commit

Permalink
Fix failing location test
Browse files Browse the repository at this point in the history
  • Loading branch information
wagenet committed Jul 12, 2012
1 parent 0035bbc commit 2a31b5f
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions packages/ember-application/tests/system/location_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,14 +151,7 @@ test("doesn't push a state if path has not changed", function() {
});

test("it handles an empty path as root", function() {
var setPath;

window.history.pushState = function(data, title, path) {
setPath = path;
};

locationObject.setURL('');
equal(setPath, '/', "The updated url is '/'");
equal(locationObject.formatPath(''), '/', "The formatted url is '/'");
});

test("it prepends rootURL to path", function() {
Expand Down

0 comments on commit 2a31b5f

Please sign in to comment.