diff options
| author | Misko Hevery | 2011-11-14 15:58:40 -0800 | 
|---|---|---|
| committer | Misko Hevery | 2011-11-14 20:31:21 -0800 | 
| commit | 8adae2fdf272f3fa428cc9fe43c860c02b2d85fd (patch) | |
| tree | bbfa04ebaa99fcb4f7dddd4a320b8dfe55e6c298 /test/directivesSpec.js | |
| parent | 955551141de88f15760e3e6e8cb8503ee34b6f6e (diff) | |
| download | angular.js-8adae2fdf272f3fa428cc9fe43c860c02b2d85fd.tar.bz2 | |
refactor(injector): removed loadModule/ng:module
- added module property to doc:example
Diffstat (limited to 'test/directivesSpec.js')
| -rw-r--r-- | test/directivesSpec.js | 13 | 
1 files changed, 0 insertions, 13 deletions
| diff --git a/test/directivesSpec.js b/test/directivesSpec.js index 3ca60ae4..5f9fa0a8 100644 --- a/test/directivesSpec.js +++ b/test/directivesSpec.js @@ -535,17 +535,4 @@ describe("directive", function() {        expect(element.hasClass('bar')).toBe(true);      }));    }); - -  describe('ng:module', function() { -    it('should install the modules', inject(function($injector, $compile, $rootScope) { -      var log = ''; -      var injector = $injector; -      angular.module.a = function($injector){ log += ($injector == injector) + ';';}; -      angular.module.b = function($injector){ log += ($injector == injector); } -      $compile('<div ng:module="   a, ,,, b "></div>')($rootScope); -      expect(log).toEqual('true;true'); -      delete angular.module.a; -      delete angular.module.b; -    })); -  });  }); | 
