> What's the best way to test helper methods that generate HTML using
> Haml::Helpers#open? I want to test the helper method directly without
> using it in a view.

If the helper was arrived at by extraction[1], it's already been
covered elsewhere and you don't need to test it again.

-Steven

1. If it wasn't, you're overengineering.  Stop it.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to