Open Mirv opened 7 years ago
FYI....I need to work on the recipe stuff still to get that feature back in there while not crashing tests.
Is that crashing the tests because it's from a 3rd party? Still trying to get my head around tests
It was posting a template error - I fixed this by querying to ensure nothing nil got through to be called by the views. Controller Tests are kind of odd...everyone agrees on this...basically need to be fed all the params via <ControllerVariableName: { <column_name>: <value>, ... }
but they also need to be fed the database stuff & then told which routes to call to get the controllers going...in rails 5 they don't use controller tests, instead using integration as controller tests are just too weird to grasp for most people.
removed for tests .... need to add back eventually