Skip to content

Commit

Permalink
Fix anchor and internal link.
Browse files Browse the repository at this point in the history
I couldn't find any links to the other two entries that seemed to have anchors so I just removed the (broken) remnants of those.
  • Loading branch information
dougo committed Feb 26, 2017
1 parent 49c8877 commit 0e61eaa
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 36 deletions.
12 changes: 6 additions & 6 deletions docs/_releases/v1.17.6/stubs.md
Expand Up @@ -51,13 +51,13 @@ before one of the other callbacks.

Calling behavior defining methods like `returns` or `throws` multiple times
overrides the behavior of the stub. As of Sinon version 1.8, you can use the
[`onCall`]("#stub-onCall) method to make a stub respond differently on
[`onCall`](#stub-onCall) method to make a stub respond differently on
consecutive calls.

Note that in Sinon version 1.5 to version 1.7, multiple calls to the `yields*`
and `callsArg*` family of methods define a sequence of behaviors for consecutive
calls. As of 1.8, this functionality has been removed in favor of the <a
href="#stub-onCall"><code>onCall</code></a> API.
calls. As of 1.8, this functionality has been removed in favor of the
[`onCall`](#stub-onCall) API.

[pubsubjs]: https://github.com/mroderick/pubsubjs

Expand All @@ -82,7 +82,7 @@ Replaces `object.method` with a `func`, wrapped in a `spy`.

As usual, `object.method.restore();` can be used to restore the original method.

#### `name "var stub = sinon.stub(obj);`
#### `var stub = sinon.stub(obj);`

Stubs all the object's methods.

Expand All @@ -96,7 +96,7 @@ If you want to create a stub object of `MyConstructor`, but don't want the const
var stub = sinon.createStubInstance(MyConstructor)
```

#### `name "stub.withArgs(arg1[, arg2, ...]);`
#### `stub.withArgs(arg1[, arg2, ...]);`

Stubs the method only for the provided arguments.

Expand All @@ -114,7 +114,7 @@ This is useful to be more expressive in your assertions, where you can access th
}
```

#### `name "stub.onCall(n);` *Added in v1.8*
#### <a name="stub-onCall"></a>`"stub.onCall(n);` *Added in v1.8*

Defines the behavior of the stub on the *nth* call. Useful for testing sequential interactions.

Expand Down
12 changes: 6 additions & 6 deletions docs/_releases/v1.17.7/stubs.md
Expand Up @@ -51,13 +51,13 @@ before one of the other callbacks.

Calling behavior defining methods like `returns` or `throws` multiple times
overrides the behavior of the stub. As of Sinon version 1.8, you can use the
[`onCall`]("#stub-onCall) method to make a stub respond differently on
[`onCall`](#stub-onCall) method to make a stub respond differently on
consecutive calls.

Note that in Sinon version 1.5 to version 1.7, multiple calls to the `yields*`
and `callsArg*` family of methods define a sequence of behaviors for consecutive
calls. As of 1.8, this functionality has been removed in favor of the <a
href="#stub-onCall"><code>onCall</code></a> API.
calls. As of 1.8, this functionality has been removed in favor of the
[`onCall`](#stub-onCall) API.

[pubsubjs]: https://github.com/mroderick/pubsubjs

Expand All @@ -82,7 +82,7 @@ Replaces `object.method` with a `func`, wrapped in a `spy`.

As usual, `object.method.restore();` can be used to restore the original method.

#### `name "var stub = sinon.stub(obj);`
#### `var stub = sinon.stub(obj);`

Stubs all the object's methods.

Expand All @@ -96,7 +96,7 @@ If you want to create a stub object of `MyConstructor`, but don't want the const
var stub = sinon.createStubInstance(MyConstructor)
```

#### `name "stub.withArgs(arg1[, arg2, ...]);`
#### `stub.withArgs(arg1[, arg2, ...]);`

Stubs the method only for the provided arguments.

Expand All @@ -114,7 +114,7 @@ This is useful to be more expressive in your assertions, where you can access th
}
```

#### `name "stub.onCall(n);` *Added in v1.8*
#### <a name="stub-onCall"></a>`stub.onCall(n);` *Added in v1.8*

Defines the behavior of the stub on the *nth* call. Useful for testing sequential interactions.

Expand Down
12 changes: 6 additions & 6 deletions docs/_releases/v2.0.0-pre.4/stubs.md
Expand Up @@ -51,13 +51,13 @@ before one of the other callbacks.

Calling behavior defining methods like `returns` or `throws` multiple times
overrides the behavior of the stub. As of Sinon version 1.8, you can use the
[`onCall`]("#stub-onCall) method to make a stub respond differently on
[`onCall`](#stub-onCall) method to make a stub respond differently on
consecutive calls.

Note that in Sinon version 1.5 to version 1.7, multiple calls to the `yields*`
and `callsArg*` family of methods define a sequence of behaviors for consecutive
calls. As of 1.8, this functionality has been removed in favor of the <a
href="#stub-onCall"><code>onCall</code></a> API.
calls. As of 1.8, this functionality has been removed in favor of the
[`onCall`](#stub-onCall) API.

[pubsubjs]: https://github.com/mroderick/pubsubjs

Expand All @@ -82,7 +82,7 @@ Replaces `object.method` with a `func`, wrapped in a `spy`.

As usual, `object.method.restore();` can be used to restore the original method.

#### `name "var stub = sinon.stub(obj);`
#### `var stub = sinon.stub(obj);`

Stubs all the object's methods.

Expand All @@ -96,7 +96,7 @@ If you want to create a stub object of `MyConstructor`, but don't want the const
var stub = sinon.createStubInstance(MyConstructor)
```

#### `name "stub.withArgs(arg1[, arg2, ...]);`
#### `stub.withArgs(arg1[, arg2, ...]);`

Stubs the method only for the provided arguments.

Expand All @@ -114,7 +114,7 @@ This is useful to be more expressive in your assertions, where you can access th
}
```

#### `name "stub.onCall(n);` *Added in v1.8*
#### <a name="stub-onCall"></a>`stub.onCall(n);` *Added in v1.8*

Defines the behavior of the stub on the *nth* call. Useful for testing sequential interactions.

Expand Down
12 changes: 6 additions & 6 deletions docs/_releases/v2.0.0-pre.5/stubs.md
Expand Up @@ -51,13 +51,13 @@ before one of the other callbacks.

Calling behavior defining methods like `returns` or `throws` multiple times
overrides the behavior of the stub. As of Sinon version 1.8, you can use the
[`onCall`]("#stub-onCall) method to make a stub respond differently on
[`onCall`](#stub-onCall) method to make a stub respond differently on
consecutive calls.

Note that in Sinon version 1.5 to version 1.7, multiple calls to the `yields*`
and `callsArg*` family of methods define a sequence of behaviors for consecutive
calls. As of 1.8, this functionality has been removed in favor of the <a
href="#stub-onCall"><code>onCall</code></a> API.
calls. As of 1.8, this functionality has been removed in favor of the
[`onCall`](#stub-onCall) API.

[pubsubjs]: https://github.com/mroderick/pubsubjs

Expand All @@ -82,7 +82,7 @@ Replaces `object.method` with a `func`, wrapped in a `spy`.

As usual, `object.method.restore();` can be used to restore the original method.

#### `name "var stub = sinon.stub(obj);`
#### `var stub = sinon.stub(obj);`

Stubs all the object's methods.

Expand All @@ -96,7 +96,7 @@ If you want to create a stub object of `MyConstructor`, but don't want the const
var stub = sinon.createStubInstance(MyConstructor)
```

#### `name "stub.withArgs(arg1[, arg2, ...]);`
#### `stub.withArgs(arg1[, arg2, ...]);`

Stubs the method only for the provided arguments.

Expand All @@ -114,7 +114,7 @@ This is useful to be more expressive in your assertions, where you can access th
}
```

#### `name "stub.onCall(n);` *Added in v1.8*
#### <a name="stub-onCall"></a>`stub.onCall(n);` *Added in v1.8*

Defines the behavior of the stub on the *nth* call. Useful for testing sequential interactions.

Expand Down
12 changes: 6 additions & 6 deletions docs/api/v2.0.0/stubs/index.md
Expand Up @@ -50,13 +50,13 @@ before one of the other callbacks.

Calling behavior defining methods like `returns` or `throws` multiple times
overrides the behavior of the stub. As of Sinon version 1.8, you can use the
[`onCall`]("#stub-onCall) method to make a stub respond differently on
[`onCall`](#stub-onCall) method to make a stub respond differently on
consecutive calls.

Note that in Sinon version 1.5 to version 1.7, multiple calls to the `yields*`
and `callsArg*` family of methods define a sequence of behaviors for consecutive
calls. As of 1.8, this functionality has been removed in favor of the <a
href="#stub-onCall"><code>onCall</code></a> API.
calls. As of 1.8, this functionality has been removed in favor of the
[`onCall`](#stub-onCall) API.

[pubsubjs]: https://github.com/mroderick/pubsubjs

Expand Down Expand Up @@ -110,7 +110,7 @@ console.log(object.myProperty); // => faked myProperty
console.log(descriptor.get.callCount); // => 1
```

#### `name "var stub = sinon.stub(obj);`
#### `var stub = sinon.stub(obj);`

Stubs all the object's methods.

Expand All @@ -124,7 +124,7 @@ If you want to create a stub object of `MyConstructor`, but don't want the const
var stub = sinon.createStubInstance(MyConstructor)
```

#### `name "stub.withArgs(arg1[, arg2, ...]);`
#### `stub.withArgs(arg1[, arg2, ...]);`

Stubs the method only for the provided arguments.

Expand All @@ -142,7 +142,7 @@ This is useful to be more expressive in your assertions, where you can access th
}
```

#### `name "stub.onCall(n);` *Added in v1.8*
#### <a name="stub-onCall"></a>`stub.onCall(n);` *Added in v1.8*

Defines the behavior of the stub on the *nth* call. Useful for testing sequential interactions.

Expand Down
12 changes: 6 additions & 6 deletions docs/release-source/release/stubs.md
Expand Up @@ -51,13 +51,13 @@ before one of the other callbacks.

Calling behavior defining methods like `returns` or `throws` multiple times
overrides the behavior of the stub. As of Sinon version 1.8, you can use the
[`onCall`]("#stub-onCall) method to make a stub respond differently on
[`onCall`](#stub-onCall) method to make a stub respond differently on
consecutive calls.

Note that in Sinon version 1.5 to version 1.7, multiple calls to the `yields*`
and `callsArg*` family of methods define a sequence of behaviors for consecutive
calls. As of 1.8, this functionality has been removed in favor of the <a
href="#stub-onCall"><code>onCall</code></a> API.
calls. As of 1.8, this functionality has been removed in favor of the
[`onCall`](#stub-onCall) API.

[pubsubjs]: https://github.com/mroderick/pubsubjs

Expand All @@ -82,7 +82,7 @@ Replaces `object.method` with a `func`, wrapped in a `spy`.

As usual, `object.method.restore();` can be used to restore the original method.

#### `name "var stub = sinon.stub(obj);`
#### `var stub = sinon.stub(obj);`

Stubs all the object's methods.

Expand All @@ -96,7 +96,7 @@ If you want to create a stub object of `MyConstructor`, but don't want the const
var stub = sinon.createStubInstance(MyConstructor)
```

#### `name "stub.withArgs(arg1[, arg2, ...]);`
#### `stub.withArgs(arg1[, arg2, ...]);`

Stubs the method only for the provided arguments.

Expand All @@ -114,7 +114,7 @@ This is useful to be more expressive in your assertions, where you can access th
}
```

#### `name "stub.onCall(n);` *Added in v1.8*
#### <a name="stub-onCall"></a>`stub.onCall(n);` *Added in v1.8*

Defines the behavior of the stub on the *nth* call. Useful for testing sequential interactions.

Expand Down

0 comments on commit 0e61eaa

Please sign in to comment.