diff options
| author | Misko Hevery | 2011-10-07 11:27:49 -0700 | 
|---|---|---|
| committer | Igor Minar | 2011-10-11 11:01:46 -0700 | 
| commit | fd822bdaf9d04e522aaa5400b673f333190abe98 (patch) | |
| tree | 451cd26d3f7da862692d6c56e6e8f235824c180a /test/service/deferSpec.js | |
| parent | 4f78fd692c0ec51241476e6be9a4df06cd62fdd6 (diff) | |
| download | angular.js-fd822bdaf9d04e522aaa5400b673f333190abe98.tar.bz2 | |
chore(formating): clean code to be function() {
Diffstat (limited to 'test/service/deferSpec.js')
| -rw-r--r-- | test/service/deferSpec.js | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/test/service/deferSpec.js b/test/service/deferSpec.js index 4f651522..ad1459ec 100644 --- a/test/service/deferSpec.js +++ b/test/service/deferSpec.js @@ -3,7 +3,7 @@  describe('$defer', function() {    var scope, $browser, $defer, $exceptionHandler; -  beforeEach(function(){ +  beforeEach(function() {      scope = angular.scope(angular.service,                            {'$exceptionHandler': jasmine.createSpy('$exceptionHandler')});      $browser = scope.$service('$browser'); @@ -11,7 +11,7 @@ describe('$defer', function() {      $exceptionHandler = scope.$service('$exceptionHandler');    }); -  afterEach(function(){ +  afterEach(function() {      dealoc(scope);    }); @@ -69,7 +69,7 @@ describe('$defer', function() {      expect(applySpy).toHaveBeenCalled();    }); -  it('should allow you to specify the delay time', function(){ +  it('should allow you to specify the delay time', function() {      var defer = this.spyOn($browser, 'defer');      $defer(noop, 123);      expect(defer.callCount).toEqual(1); | 
