Skip to content

Commit

Permalink
Replace broken internal links with page links.
Browse files Browse the repository at this point in the history
  • Loading branch information
dougo committed Feb 26, 2017
1 parent 592dffc commit c9367aa
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion docs/_releases/v1.17.6/mocks.md
Expand Up @@ -28,7 +28,7 @@ Thus, they enforce implementation details. The rule of thumb is: if you wouldn't

In general you should have **no more than one** mock (possibly with several expectations) in a single test.

[Expectations](#expectations) implement both the [spies](#spies) and [stubs](#stubs) APIs.
[Expectations](#expectations) implement both the [spies](../spies) and [stubs](../stubs) APIs.

To see what mocks look like in Sinon.JS, here is one of the [PubSubJS][pubsubjs] tests again, this time using a method as callback and using mocks to verify its behavior

Expand Down
2 changes: 1 addition & 1 deletion docs/_releases/v1.17.6/stubs.md
Expand Up @@ -8,7 +8,7 @@ breadcrumb: stubs

Test stubs are functions (spies) with pre-programmed behavior.

They support the full <a href="#spies">test spy API</a> in addition to methods which can be used to alter the stub's behavior.
They support the full <a href="../spies">test spy API</a> in addition to methods which can be used to alter the stub's behavior.

As spies, stubs can be either anonymous, or wrap existing functions. When
wrapping an existing function with a stub, the original function is not called.
Expand Down
2 changes: 1 addition & 1 deletion docs/_releases/v1.17.6/utils.md
Expand Up @@ -32,7 +32,7 @@ Restores supplied method

Creates a new object with the given function as the protoype and stubs all implemented functions.

The given constructor function is not invoked. See also the [stub API](#stubs).
The given constructor function is not invoked. See also the [stub API](../stubs).

#### `sinon.format(object);`

Expand Down
2 changes: 1 addition & 1 deletion docs/_releases/v1.17.7/mocks.md
Expand Up @@ -28,7 +28,7 @@ Thus, they enforce implementation details. The rule of thumb is: if you wouldn't

In general you should have **no more than one** mock (possibly with several expectations) in a single test.

[Expectations](#expectations) implement both the [spies](#spies) and [stubs](#stubs) APIs.
[Expectations](#expectations) implement both the [spies](../spies) and [stubs](../stubs) APIs.

To see what mocks look like in Sinon.JS, here is one of the [PubSubJS][pubsubjs] tests again, this time using a method as callback and using mocks to verify its behavior

Expand Down
2 changes: 1 addition & 1 deletion docs/_releases/v1.17.7/stubs.md
Expand Up @@ -8,7 +8,7 @@ breadcrumb: stubs

Test stubs are functions (spies) with pre-programmed behavior.

They support the full <a href="#spies">test spy API</a> in addition to methods which can be used to alter the stub's behavior.
They support the full <a href="../spies">test spy API</a> in addition to methods which can be used to alter the stub's behavior.

As spies, stubs can be either anonymous, or wrap existing functions. When
wrapping an existing function with a stub, the original function is not called.
Expand Down
2 changes: 1 addition & 1 deletion docs/_releases/v1.17.7/utils.md
Expand Up @@ -32,7 +32,7 @@ Restores supplied method

Creates a new object with the given function as the protoype and stubs all implemented functions.

The given constructor function is not invoked. See also the [stub API](#stubs).
The given constructor function is not invoked. See also the [stub API](../stubs).

#### `sinon.format(object);`

Expand Down
2 changes: 1 addition & 1 deletion docs/_releases/v2.0.0-pre.4/mocks.md
Expand Up @@ -28,7 +28,7 @@ Thus, they enforce implementation details. The rule of thumb is: if you wouldn't

In general you should have **no more than one** mock (possibly with several expectations) in a single test.

[Expectations](#expectations) implement both the [spies](#spies) and [stubs](#stubs) APIs.
[Expectations](#expectations) implement both the [spies](../spies) and [stubs](../stubs) APIs.

To see what mocks look like in Sinon.JS, here is one of the [PubSubJS][pubsubjs] tests again, this time using a method as callback and using mocks to verify its behavior

Expand Down
2 changes: 1 addition & 1 deletion docs/_releases/v2.0.0-pre.4/stubs.md
Expand Up @@ -8,7 +8,7 @@ breadcrumb: stubs

Test stubs are functions (spies) with pre-programmed behavior.

They support the full <a href="#spies">test spy API</a> in addition to methods which can be used to alter the stub's behavior.
They support the full <a href="../spies">test spy API</a> in addition to methods which can be used to alter the stub's behavior.

As spies, stubs can be either anonymous, or wrap existing functions. When
wrapping an existing function with a stub, the original function is not called.
Expand Down
2 changes: 1 addition & 1 deletion docs/_releases/v2.0.0-pre.4/utils.md
Expand Up @@ -32,7 +32,7 @@ Restores supplied method

Creates a new object with the given function as the protoype and stubs all implemented functions.

The given constructor function is not invoked. See also the [stub API](#stubs).
The given constructor function is not invoked. See also the [stub API](../stubs).

#### `sinon.format(object);`

Expand Down
2 changes: 1 addition & 1 deletion docs/_releases/v2.0.0-pre.5/mocks.md
Expand Up @@ -28,7 +28,7 @@ Thus, they enforce implementation details. The rule of thumb is: if you wouldn't

In general you should have **no more than one** mock (possibly with several expectations) in a single test.

[Expectations](#expectations) implement both the [spies](#spies) and [stubs](#stubs) APIs.
[Expectations](#expectations) implement both the [spies](../spies) and [stubs](../stubs) APIs.

To see what mocks look like in Sinon.JS, here is one of the [PubSubJS][pubsubjs] tests again, this time using a method as callback and using mocks to verify its behavior

Expand Down
2 changes: 1 addition & 1 deletion docs/_releases/v2.0.0-pre.5/stubs.md
Expand Up @@ -8,7 +8,7 @@ breadcrumb: stubs

Test stubs are functions (spies) with pre-programmed behavior.

They support the full <a href="#spies">test spy API</a> in addition to methods which can be used to alter the stub's behavior.
They support the full <a href="../spies">test spy API</a> in addition to methods which can be used to alter the stub's behavior.

As spies, stubs can be either anonymous, or wrap existing functions. When
wrapping an existing function with a stub, the original function is not called.
Expand Down
2 changes: 1 addition & 1 deletion docs/_releases/v2.0.0-pre.5/utils.md
Expand Up @@ -32,7 +32,7 @@ Restores supplied method

Creates a new object with the given function as the protoype and stubs all implemented functions.

The given constructor function is not invoked. See also the [stub API](#stubs).
The given constructor function is not invoked. See also the [stub API](../stubs).

#### `sinon.format(object);`

Expand Down
2 changes: 1 addition & 1 deletion docs/api/v2.0.0/stubs/index.md
Expand Up @@ -7,7 +7,7 @@ title: Stubs

Test stubs are functions (spies) with pre-programmed behavior.

They support the full <a href="#spies">test spy API</a> in addition to methods which can be used to alter the stub's behavior.
They support the full <a href="../spies">test spy API</a> in addition to methods which can be used to alter the stub's behavior.

As spies, stubs can be either anonymous, or wrap existing functions. When
wrapping an existing function with a stub, the original function is not called.
Expand Down
2 changes: 1 addition & 1 deletion docs/release-source/release/mocks.md
Expand Up @@ -28,7 +28,7 @@ Thus, they enforce implementation details. The rule of thumb is: if you wouldn't

In general you should have **no more than one** mock (possibly with several expectations) in a single test.

[Expectations](#expectations) implement both the [spies](#spies) and [stubs](#stubs) APIs.
[Expectations](#expectations) implement both the [spies](../spies) and [stubs](../stubs) APIs.

To see what mocks look like in Sinon.JS, here is one of the [PubSubJS][pubsubjs] tests again, this time using a method as callback and using mocks to verify its behavior

Expand Down
2 changes: 1 addition & 1 deletion docs/release-source/release/stubs.md
Expand Up @@ -8,7 +8,7 @@ breadcrumb: stubs

Test stubs are functions (spies) with pre-programmed behavior.

They support the full <a href="#spies">test spy API</a> in addition to methods which can be used to alter the stub's behavior.
They support the full <a href="../spies">test spy API</a> in addition to methods which can be used to alter the stub's behavior.

As spies, stubs can be either anonymous, or wrap existing functions. When
wrapping an existing function with a stub, the original function is not called.
Expand Down
2 changes: 1 addition & 1 deletion docs/release-source/release/utils.md
Expand Up @@ -32,7 +32,7 @@ Restores supplied method

Creates a new object with the given function as the protoype and stubs all implemented functions.

The given constructor function is not invoked. See also the [stub API](#stubs).
The given constructor function is not invoked. See also the [stub API](../stubs).

#### `sinon.format(object);`

Expand Down

0 comments on commit c9367aa

Please sign in to comment.