diff options
| author | Peter Bacon Darwin | 2014-02-06 13:33:42 +0000 |
|---|---|---|
| committer | Peter Bacon Darwin | 2014-02-16 19:03:40 +0000 |
| commit | c7e815f63b6c22f5bbc798f34386c01fa72cab7d (patch) | |
| tree | 13d8e640ae037112a63f240be22390cc5b3fc522 /docs/content/guide/dev_guide.unit-testing.ngdoc | |
| parent | 6483dea08c6fae937e62ce242212152d7ef27d91 (diff) | |
| download | angular.js-c7e815f63b6c22f5bbc798f34386c01fa72cab7d.tar.bz2 | |
docs(bike-shed-migration): fix up links outside the domain
It is safer to use markdown style links and save jsdoc style links for
internal links and code references
Diffstat (limited to 'docs/content/guide/dev_guide.unit-testing.ngdoc')
| -rw-r--r-- | docs/content/guide/dev_guide.unit-testing.ngdoc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/docs/content/guide/dev_guide.unit-testing.ngdoc b/docs/content/guide/dev_guide.unit-testing.ngdoc index e73dc2d6..16c1c99e 100644 --- a/docs/content/guide/dev_guide.unit-testing.ngdoc +++ b/docs/content/guide/dev_guide.unit-testing.ngdoc @@ -97,9 +97,8 @@ function MyClass() { While no new dependency instance is created, it is fundamentally the same as `new` in that no way exists to intercept the call to `global.xhr` for testing purposes, other then 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 of why this is bad see: {@link -http://misko.hevery.com/code-reviewers-guide/flaw-brittle-global-state-singletons/ Brittle Global -State & Singletons} +order to replace it with call to a mock method. For further explanation of why this is bad see: [Brittle Global +State & Singletons](http://misko.hevery.com/code-reviewers-guide/flaw-brittle-global-state-singletons/) The class above is hard to test since we have to change the global state: <pre> @@ -336,5 +335,5 @@ replaced the content and "lidless, wreathed in flame, 2 times" is present. ## Sample project -See the {@link https://github.com/angular/angular-seed angular-seed} project for an example. +See the [angular-seed](https://github.com/angular/angular-seed) project for an example. |
