From 5c5b1183c82a28841b3e1e246ee341262e91d743 Mon Sep 17 00:00:00 2001 From: Mykhailo Kotsur Date: Thu, 22 Mar 2012 20:38:49 +0100 Subject: [PATCH] docs(guide/module): fix syntax error and expectation in test example --- docs/content/guide/module.ngdoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content/guide/module.ngdoc b/docs/content/guide/module.ngdoc index 560a396126e7..d37799843857 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!'); }); }); });