Skip to content

Commit

Permalink
Added missing documentation for sinon.assert.calledOnceWithExactly
Browse files Browse the repository at this point in the history
  • Loading branch information
rhodgkins authored and mroderick committed Feb 26, 2020
1 parent 00aa720 commit 4465399
Show file tree
Hide file tree
Showing 10 changed files with 70 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/_releases/v7.5.0/assertions.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,13 @@ Passes if `spy` was called with the provided arguments and no others.
It's possible to assert on a dedicated spy call: `sinon.assert.calledWithExactly(spy.getCall(1), arg1, arg2, ...);`.


#### `sinon.assert.calledOnceWithExactly(spyOrSpyCall, arg1, arg2, ...);`

Passes if `spy` was called once and only once with the provided arguments and no others.

It's possible to assert on a dedicated spy call: `sinon.assert.calledOnceWithExactly(spy.getCall(1), arg1, arg2, ...);`.


#### `sinon.assert.alwaysCalledWithExactly(spy, arg1, arg2, ...);`

Passes if `spy` was always called with the provided arguments and no others.
Expand Down
7 changes: 7 additions & 0 deletions docs/_releases/v8.0.0/assertions.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,13 @@ Passes if `spy` was called with the provided arguments and no others.
It's possible to assert on a dedicated spy call: `sinon.assert.calledWithExactly(spy.getCall(1), arg1, arg2, ...);`.


#### `sinon.assert.calledOnceWithExactly(spyOrSpyCall, arg1, arg2, ...);`

Passes if `spy` was called once and only once with the provided arguments and no others.

It's possible to assert on a dedicated spy call: `sinon.assert.calledOnceWithExactly(spy.getCall(1), arg1, arg2, ...);`.


#### `sinon.assert.alwaysCalledWithExactly(spy, arg1, arg2, ...);`

Passes if `spy` was always called with the provided arguments and no others.
Expand Down
7 changes: 7 additions & 0 deletions docs/_releases/v8.0.1/assertions.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,13 @@ Passes if `spy` was called with the provided arguments and no others.
It's possible to assert on a dedicated spy call: `sinon.assert.calledWithExactly(spy.getCall(1), arg1, arg2, ...);`.


#### `sinon.assert.calledOnceWithExactly(spyOrSpyCall, arg1, arg2, ...);`

Passes if `spy` was called once and only once with the provided arguments and no others.

It's possible to assert on a dedicated spy call: `sinon.assert.calledOnceWithExactly(spy.getCall(1), arg1, arg2, ...);`.


#### `sinon.assert.alwaysCalledWithExactly(spy, arg1, arg2, ...);`

Passes if `spy` was always called with the provided arguments and no others.
Expand Down
7 changes: 7 additions & 0 deletions docs/_releases/v8.0.2/assertions.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,13 @@ Passes if `spy` was called with the provided arguments and no others.
It's possible to assert on a dedicated spy call: `sinon.assert.calledWithExactly(spy.getCall(1), arg1, arg2, ...);`.


#### `sinon.assert.calledOnceWithExactly(spyOrSpyCall, arg1, arg2, ...);`

Passes if `spy` was called once and only once with the provided arguments and no others.

It's possible to assert on a dedicated spy call: `sinon.assert.calledOnceWithExactly(spy.getCall(1), arg1, arg2, ...);`.


#### `sinon.assert.alwaysCalledWithExactly(spy, arg1, arg2, ...);`

Passes if `spy` was always called with the provided arguments and no others.
Expand Down
7 changes: 7 additions & 0 deletions docs/_releases/v8.0.3/assertions.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,13 @@ Passes if `spy` was called with the provided arguments and no others.
It's possible to assert on a dedicated spy call: `sinon.assert.calledWithExactly(spy.getCall(1), arg1, arg2, ...);`.


#### `sinon.assert.calledOnceWithExactly(spyOrSpyCall, arg1, arg2, ...);`

Passes if `spy` was called once and only once with the provided arguments and no others.

It's possible to assert on a dedicated spy call: `sinon.assert.calledOnceWithExactly(spy.getCall(1), arg1, arg2, ...);`.


#### `sinon.assert.alwaysCalledWithExactly(spy, arg1, arg2, ...);`

Passes if `spy` was always called with the provided arguments and no others.
Expand Down
7 changes: 7 additions & 0 deletions docs/_releases/v8.0.4/assertions.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,13 @@ Passes if `spy` was called with the provided arguments and no others.
It's possible to assert on a dedicated spy call: `sinon.assert.calledWithExactly(spy.getCall(1), arg1, arg2, ...);`.


#### `sinon.assert.calledOnceWithExactly(spyOrSpyCall, arg1, arg2, ...);`

Passes if `spy` was called once and only once with the provided arguments and no others.

It's possible to assert on a dedicated spy call: `sinon.assert.calledOnceWithExactly(spy.getCall(1), arg1, arg2, ...);`.


#### `sinon.assert.alwaysCalledWithExactly(spy, arg1, arg2, ...);`

Passes if `spy` was always called with the provided arguments and no others.
Expand Down
7 changes: 7 additions & 0 deletions docs/_releases/v8.1.0/assertions.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,13 @@ Passes if `spy` was called with the provided arguments and no others.
It's possible to assert on a dedicated spy call: `sinon.assert.calledWithExactly(spy.getCall(1), arg1, arg2, ...);`.


#### `sinon.assert.calledOnceWithExactly(spyOrSpyCall, arg1, arg2, ...);`

Passes if `spy` was called once and only once with the provided arguments and no others.

It's possible to assert on a dedicated spy call: `sinon.assert.calledOnceWithExactly(spy.getCall(1), arg1, arg2, ...);`.


#### `sinon.assert.alwaysCalledWithExactly(spy, arg1, arg2, ...);`

Passes if `spy` was always called with the provided arguments and no others.
Expand Down
7 changes: 7 additions & 0 deletions docs/_releases/v8.1.1/assertions.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,13 @@ Passes if `spy` was called with the provided arguments and no others.
It's possible to assert on a dedicated spy call: `sinon.assert.calledWithExactly(spy.getCall(1), arg1, arg2, ...);`.


#### `sinon.assert.calledOnceWithExactly(spyOrSpyCall, arg1, arg2, ...);`

Passes if `spy` was called once and only once with the provided arguments and no others.

It's possible to assert on a dedicated spy call: `sinon.assert.calledOnceWithExactly(spy.getCall(1), arg1, arg2, ...);`.


#### `sinon.assert.alwaysCalledWithExactly(spy, arg1, arg2, ...);`

Passes if `spy` was always called with the provided arguments and no others.
Expand Down
7 changes: 7 additions & 0 deletions docs/_releases/v9.0.0/assertions.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,13 @@ Passes if `spy` was called with the provided arguments and no others.
It's possible to assert on a dedicated spy call: `sinon.assert.calledWithExactly(spy.getCall(1), arg1, arg2, ...);`.


#### `sinon.assert.calledOnceWithExactly(spyOrSpyCall, arg1, arg2, ...);`

Passes if `spy` was called once and only once with the provided arguments and no others.

It's possible to assert on a dedicated spy call: `sinon.assert.calledOnceWithExactly(spy.getCall(1), arg1, arg2, ...);`.


#### `sinon.assert.alwaysCalledWithExactly(spy, arg1, arg2, ...);`

Passes if `spy` was always called with the provided arguments and no others.
Expand Down
7 changes: 7 additions & 0 deletions docs/release-source/release/assertions.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,13 @@ Passes if `spy` was called with the provided arguments and no others.
It's possible to assert on a dedicated spy call: `sinon.assert.calledWithExactly(spy.getCall(1), arg1, arg2, ...);`.


#### `sinon.assert.calledOnceWithExactly(spyOrSpyCall, arg1, arg2, ...);`

Passes if `spy` was called once and only once with the provided arguments and no others.

It's possible to assert on a dedicated spy call: `sinon.assert.calledOnceWithExactly(spy.getCall(1), arg1, arg2, ...);`.


#### `sinon.assert.alwaysCalledWithExactly(spy, arg1, arg2, ...);`

Passes if `spy` was always called with the provided arguments and no others.
Expand Down

0 comments on commit 4465399

Please sign in to comment.