Testing Helper Methods
Learn how to test the helper methods.
We'll cover the following...
Testing helper methods
Helper modules are the storage attic of Rails applications. They are designed to contain reusable bits of view logic. This might include view-specific data representations or conditional logic that governs how content is displayed. Helper modules tend to get filled with all kinds of clutter that doesn’t seem to belong anywhere else. Because they are a little tricky to set up for testing, helper methods often aren’t tested even when they contain significant amounts of logic. ...