Using RSpec to test HAML helpers
Posted by Jim Morris on Sat Jul 14 16:44:33 -0700 2007
UPDATED for HAML 2.0 and RSpec 1.1.5 - Changed open to haml_tag, prefix helper. to all rspec calls...
The most recent release of HAML introduced a neat feature that allows you to use HAML-like syntax in your helpers to generate HTML HAML#haml_tag.
... Show more ...