diff options
Diffstat (limited to 'docs/content/guide/dev_guide.services.testing_services.ngdoc')
| -rw-r--r-- | docs/content/guide/dev_guide.services.testing_services.ngdoc | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/docs/content/guide/dev_guide.services.testing_services.ngdoc b/docs/content/guide/dev_guide.services.testing_services.ngdoc index 6e0bbace..49f10c5a 100644 --- a/docs/content/guide/dev_guide.services.testing_services.ngdoc +++ b/docs/content/guide/dev_guide.services.testing_services.ngdoc @@ -6,7 +6,7 @@ The following is a unit test for the 'notify' service in the 'Dependencies' exam  dev_guide.services.creating_services Creating Angular Services}. The unit test example uses Jasmine  spy (mock) instead of a real browser alert. -<pre> +```js  var mock, notify;  beforeEach(function() { @@ -47,7 +47,7 @@ it('should clear messages after alert', function() {    expect(mock.alert.callCount).toEqual(2);    expect(mock.alert.mostRecentCall.args).toEqual(["more\ntwo\nthird"]);  }); -</pre> +```  ## Related Topics | 
