I am not sure where I'll write test cases for our app, if i am using cacncan.
This should be in model or controller section.
In my case:
a user can delete or not a object. To handle this case I used cancan and I think this code should be in model not in controller and how do I test this using rspec.
Please provide me a better advise.
Thanks