diff options
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!'); }); }); }); |
