Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Commit

Permalink
docs(guide/services): fix syntax for Jasmine v2.x
Browse files Browse the repository at this point in the history
Closes #15570
  • Loading branch information
webgene authored and gkalpak committed Jan 3, 2017
1 parent 5294d20 commit 090a839
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/content/guide/services.ngdoc
Expand Up @@ -221,8 +221,8 @@ it('should clear messages after alert', function() {
notify('two');
notify('third');

expect(mock.alert.callCount).toEqual(2);
expect(mock.alert.mostRecentCall.args).toEqual(["more\ntwo\nthird"]);
expect(mock.alert.calls.count()).toEqual(2);
expect(mock.alert.calls.mostRecent().args).toEqual(["more\ntwo\nthird"]);
});
```

Expand Down

0 comments on commit 090a839

Please sign in to comment.