Topic: testing find methods

Hi all

I have a question regarding writing tests for custom find methods,

I declare all my find methods in my model, so should find methods be tested using a unit test or when I'm testing the controller actions that utilise them?

look forward to your input

TIA Yorkie

Re: testing find methods

You test your model in model tests, and controller in functional tests. Specifics depend on what testing framework you're using and what you mean by "declaring all your find methods."