Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RSpec request template doesn't test model deletion #626

Closed
mattr opened this issue Oct 16, 2024 · 1 comment
Closed

RSpec request template doesn't test model deletion #626

mattr opened this issue Oct 16, 2024 · 1 comment

Comments

@mattr
Copy link
Contributor

mattr commented Oct 16, 2024

The generated request specs for the destroy method only test the redirect after deleting the model, never that the model is actually destroyed in the method.

PR to fix: #625

@sfnelson
Copy link
Contributor

sfnelson commented Nov 6, 2024

PR merged and released

@sfnelson sfnelson closed this as completed Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants