fixture.types.Store.findOne
function
Simulate a findOne request on a fixture.
store.findOne(request, response)
Parameters
- request
{Object}:Parameters for the request.
- response
{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.
todosStore.findOne({
url: "/todos/5"
}, function(todo){
});