destroy
Simulate destroying a Model on a fixture.
store.destroy(request, callback)
Parameters
-
request
{Object}
Parameters for the request.
-
callback
{function()}
A function to call after destruction.
Simulate destroying a Model on a fixture.
{Object}
Parameters for the request.
{function()}
A function to call after destruction.
store.destroy(request, response())
simulates a request to destroy an item from the server.