Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test that the model instance is deleted in the destroy method
The generated spec for the destroy method only tests the redirect, not the actual model deletion. To do this, we need to ensure that the model is instantiated before performing the action.
- Loading branch information