Ruby on Rails testing controller for nested form creation
I have a model entities with a HMT relationship in the model user_entity_roles. I create new entities with a nested form. In the controller, this is a 2 step process via the new and create methods. I can’t figure out how to write a test for creating a new entity.
Ruby on Rails testing controller for nested form creation
I have a model entities with a HMT relationship in the model user_entity_roles. I create new entities with a nested form. In the controller, this is a 2 step process via the new and create methods. I can’t figure out how to write a test for creating a new entity.