create
Simulate creating a Model with a fixture.
store.create(request, callback)
Parameters
-
request
{Object}
Parameters for the request.
-
callback
{function()}
A function to call with the created item.
Simulate creating a Model with a fixture.
{Object}
Parameters for the request.
{function()}
A function to call with the created item.
store.destroy(request, callback)
simulates a request to destroy an item from the server.