diff options
| author | Misko Hevery | 2010-04-03 20:19:55 -0700 |
|---|---|---|
| committer | Misko Hevery | 2010-04-03 20:23:16 -0700 |
| commit | 5dcf9bb4feb144b3a54a43524210dd7d0bb4213e (patch) | |
| tree | 966014f5f83409766d8d84caf6e772d1398d385f /test | |
| parent | a80a61839a66d244c8bb14bbe2975746e02516c8 (diff) | |
| download | angular.js-5dcf9bb4feb144b3a54a43524210dd7d0bb4213e.tar.bz2 | |
browser is now injectable into the system
Diffstat (limited to 'test')
| -rw-r--r-- | test/servicesSpec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/servicesSpec.js b/test/servicesSpec.js index 49000af4..193351d1 100644 --- a/test/servicesSpec.js +++ b/test/servicesSpec.js @@ -24,7 +24,7 @@ describe("services", function(){ scope.$location.hashPath = 'page=http://path'; scope.$location.hashSearch = {k:'a=b'}; - expect(scope.$location()).toEqual('http://host:123/p/a/t/h.html?query=value#path?key=valuepage=http://path?k=a%3Db'); + expect(scope.$location()).toEqual('http://host:123/p/a/t/h.html?query=value#page=http://path?k=a%3Db'); }); it('should parse file://', function(){ @@ -39,7 +39,7 @@ describe("services", function(){ expect(scope.$location.hashPath).toEqual(''); expect(scope.$location.hashSearch).toEqual({}); - expect(scope.$location()).toEqual('file:///Users/Shared/misko/work/angular.js/scenario/widgets.html'); + expect(scope.$location()).toEqual('file:///Users/Shared/misko/work/angular.js/scenario/widgets.html#'); }); xit('should add stylesheets', function(){ |
