findOne
Simulate a findOne request on a fixture.
store.findOne(request, callback)
Parameters
-
request
{Object}
Parameters for the request.
-
callback
{function()}
A function to call with the retrieved item.
Simulate a findOne request on a fixture.
{Object}
Parameters for the request.
{function()}
A function to call with the retrieved item.
store.findOne(request, response(item))
simulates a request to get a single item from the server by id.