aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/guide/dev_guide.unit-testing.ngdoc
diff options
context:
space:
mode:
authorurenmj2013-03-30 23:51:28 +1100
committerJames deBoer2013-04-11 14:25:50 -0700
commit63c25fd875d4516b9e55e629496b7e3791d08afc (patch)
tree924d99416950d57d858567551e6834ea52febbe8 /docs/content/guide/dev_guide.unit-testing.ngdoc
parent1351ba2632b5011ad6eaddf004a7f0411bea8453 (diff)
downloadangular.js-63c25fd875d4516b9e55e629496b7e3791d08afc.tar.bz2
docs(dev-guide): Fixed a typo.
Diffstat (limited to 'docs/content/guide/dev_guide.unit-testing.ngdoc')
-rw-r--r--docs/content/guide/dev_guide.unit-testing.ngdoc2
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 2006b1fc..0ce21e03 100644
--- a/docs/content/guide/dev_guide.unit-testing.ngdoc
+++ b/docs/content/guide/dev_guide.unit-testing.ngdoc
@@ -97,7 +97,7 @@ function MyClass() {
While no new instance of the dependency is being created, it is fundamentally the same as `new`, in
that there is no good way to intercept the call to `global.xhr` for testing purposes, other then
-through monkey patching. The basic issue for testing is that global variable needs to be mutated in
+through monkey patching. The basic issue for testing is that a global variable needs to be mutated in
order to replace it with call to a mock method. For further explanation why this is bad see: {@link
http://misko.hevery.com/code-reviewers-guide/flaw-brittle-global-state-singletons/ Brittle Global
State & Singletons}