RSpec testing all actions of a controller
Posted by Jim Morris on Sat Jul 28 14:23:07 -0700 2007
A pattern I find very helpful is to find all the actions in a controller and apply a test to all those actions.
For instance this is useful for automatically testing all actions are protected from unauthorized access when using a login system.
... Show more ...