Disclaimer: This post is mostly about Rack. If your unfamiliar with this software, you may want to read this first. Unit testing of controllers Testing the Rails components in complete isolation from one another is not that easy. Obviously, integration tests exist to set the whole application stack in motion, while on the opposite, unit testing focus on asserting that small pieces of code perform