diff --git a/docs/_releases/v5.0.1/fakes.md b/docs/_releases/v5.0.1/fakes.md index 00379b9e4..bd47feb06 100644 --- a/docs/_releases/v5.0.1/fakes.md +++ b/docs/_releases/v5.0.1/fakes.md @@ -157,7 +157,7 @@ f.lastCall.lastArg === date2; Unlike `sinon.spy` and `sinon.stub`, `sinon.fake` only knows about creating fakes, not about replacing properties in the system under test. -To replace a property, you can use the [`sinon.replace`](../sandbox/sandboxreplaceobject-property-replacement) method. +To replace a property, you can use the [`sinon.replace`](../sandbox/#sandboxreplaceobject-property-replacement) method. ```js var fake = sinon.fake.returns('42'); diff --git a/docs/release-source/release/fakes.md b/docs/release-source/release/fakes.md index 00379b9e4..bd47feb06 100644 --- a/docs/release-source/release/fakes.md +++ b/docs/release-source/release/fakes.md @@ -157,7 +157,7 @@ f.lastCall.lastArg === date2; Unlike `sinon.spy` and `sinon.stub`, `sinon.fake` only knows about creating fakes, not about replacing properties in the system under test. -To replace a property, you can use the [`sinon.replace`](../sandbox/sandboxreplaceobject-property-replacement) method. +To replace a property, you can use the [`sinon.replace`](../sandbox/#sandboxreplaceobject-property-replacement) method. ```js var fake = sinon.fake.returns('42');