diff options
| author | Misko Hevery | 2010-07-30 10:56:36 -0700 | 
|---|---|---|
| committer | Misko Hevery | 2010-07-30 10:56:36 -0700 | 
| commit | cdda664f8990351453baa26fc3dcd53329e72e68 (patch) | |
| tree | 77cb533770c67d2a032a259bd093c3fa3a16899d /test | |
| parent | af1eb6914e6e4b72e6baabb075138b7716184ff7 (diff) | |
| download | angular.js-cdda664f8990351453baa26fc3dcd53329e72e68.tar.bz2 | |
fix up the $location encoding
Diffstat (limited to 'test')
| -rw-r--r-- | test/servicesSpec.js | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/test/servicesSpec.js b/test/servicesSpec.js index cb5c9b30..ffd01267 100644 --- a/test/servicesSpec.js +++ b/test/servicesSpec.js @@ -91,7 +91,7 @@ describe("service", function(){        scope.$location.hashPath = 'page=http://path';        scope.$location.hashSearch = {k:'a=b'}; -      expect(scope.$location.toString()).toEqual('http://host:123/p/a/t/h.html?query=value#page=http://path?k=a%3Db'); +      expect(scope.$location.toString()).toEqual('http://host:123/p/a/t/h.html?query=value#page%3Dhttp%3A//path?k=a%3Db');      });      it('should parse file://', function(){  | 
