In rails, what defines unit testing as opposed to other kinds of testing
- by junky
Initially I thought this was simple: unit testing for models with other testing such as integration for controller and browser testing for views.
But more recently I've seen a lot of references to unit testing that doesn't seem to exactly follow this format.
Is it possible to have a unit test of a controller? Does that mean that just one method is called? What's the distinction? What does unit testing really means in my rails world?