Closed
Description
What Ruby, Rails and RSpec versions are you using?
Ruby version: 3.1.1
Rails version: 7.0.2.3
RSpec version: 3.11
Observed behaviour
I seems that it should use new_attributes
insted of valid_attributes
when PUT #update with valid params.
Expected behaviour
Use new_attributes
when PUT #update with valid params in generated controller spec from scaffold.
Can you provide an example app?
None.
Metadata
Metadata
Assignees
Labels
No labels