Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jodal committed Jan 16, 2013
1 parent 1c62b77 commit e1d6df6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion modules/buster-assertions.rst
Expand Up @@ -243,9 +243,11 @@ Examples assume that you have aliased ``buster.assertions.assert`` as such::

**Message**

::

assert.isNull.message = "Expected ${0} to be null";

``${0}``::
``${0}``:
The actual object


Expand Down Expand Up @@ -796,6 +798,7 @@ technically provided by the integration package :ref:`buster-sinon`, *not*
**Message**

::

assert.calledWith.message = "Expected ${0} to be called with arguments ${1}${2}";

``${0}``:
Expand All @@ -809,6 +812,7 @@ technically provided by the integration package :ref:`buster-sinon`, *not*
.. function:: assert.calledOnceWith

::

assert.calledOnceWith(spy, arg1, arg2, ...)

Passes if the spy was called exactly once and with the specified arguments.
Expand Down

0 comments on commit e1d6df6

Please sign in to comment.