Skip to content

Commit

Permalink
Update wrapped-objects.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
rznzippy committed Apr 21, 2015
1 parent 9727d75 commit 6cab148
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/cookbook/wrapped-objects.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ for example:

.. code-block:: php
function_it_should_handle_something($somethingToHandle)
function it_should_handle_something($somethingToHandle)
{
$this->shouldHandle($somethingToHandle);
}
Expand All @@ -25,7 +25,7 @@ call thinking it is a matcher. You can avoid this by using ``callOnWrappedObject

.. code-block:: php
function_it_should_handle_something($somethingToHandle)
function it_should_handle_something($somethingToHandle)
{
$this->callOnWrappedObject('shouldHandle', array($somethingToHandle));
}

0 comments on commit 6cab148

Please sign in to comment.