diff options
| author | Klaus Weiss | 2013-12-19 16:33:01 +0100 |
|---|---|---|
| committer | Igor Minar | 2013-12-19 16:12:24 -0800 |
| commit | df2b88e2303756f2a68b62e9b0395f6e96d43cff (patch) | |
| tree | fde18938b96237a8e5be4c5439731d2e17d37793 /docs/content/guide/dev_guide.unit-testing.ngdoc | |
| parent | 83451d552e467ea507c01770fbd7e7b529cb9d91 (diff) | |
| download | angular.js-df2b88e2303756f2a68b62e9b0395f6e96d43cff.tar.bz2 | |
docs(guide): fix typo
Closes #5481
Diffstat (limited to 'docs/content/guide/dev_guide.unit-testing.ngdoc')
| -rw-r--r-- | docs/content/guide/dev_guide.unit-testing.ngdoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/content/guide/dev_guide.unit-testing.ngdoc b/docs/content/guide/dev_guide.unit-testing.ngdoc index e15edeb7..e73dc2d6 100644 --- a/docs/content/guide/dev_guide.unit-testing.ngdoc +++ b/docs/content/guide/dev_guide.unit-testing.ngdoc @@ -163,7 +163,7 @@ function MyClass(xhr) { This is the preferred method since the code makes no assumptions about the origin of `xhr` and cares instead about whoever created the class responsible for passing it in. Since the creator of the class should be different code than the user of the class, it separates the responsibility of -creation from the logic. This is dependency-injection is in a nutshell. +creation from the logic. This is dependency-injection in a nutshell. The class above is testable, since in the test we can write: <pre> |
