diff options
| author | Mykhailo Kotsur | 2012-03-22 20:38:49 +0100 | 
|---|---|---|
| committer | Igor Minar | 2012-03-26 16:06:46 -0700 | 
| commit | 5c5b1183c82a28841b3e1e246ee341262e91d743 (patch) | |
| tree | 40d835997a21fe64d59dcddf7f1f893d34a6ddee /docs/content/guide/module.ngdoc | |
| parent | f04142ea281c16182132ca4f307f24e97a19cfdc (diff) | |
| download | angular.js-5c5b1183c82a28841b3e1e246ee341262e91d743.tar.bz2 | |
docs(guide/module): fix syntax error and expectation in test example
Diffstat (limited to 'docs/content/guide/module.ngdoc')
| -rw-r--r-- | docs/content/guide/module.ngdoc | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/docs/content/guide/module.ngdoc b/docs/content/guide/module.ngdoc index 560a3961..d3779984 100644 --- a/docs/content/guide/module.ngdoc +++ b/docs/content/guide/module.ngdoc @@ -232,7 +232,7 @@ describe('myApp', function() {      $provide.value('$window', {        alert: jasmine.createSpy('alert')      }); -  }); +  }));    // The inject() will create the injector and inject the greet and    // $window into the tests. The test need not concern itself with @@ -251,7 +251,7 @@ describe('myApp', function() {      });      inject(function(greet) {        greet('World'); -      expect(alertSpy).toHaveBeenCalledWith('World'); +      expect(alertSpy).toHaveBeenCalledWith('Hello World!');      });    });  }); | 
