dot.Using Making technology about computers, and computers about usability.

Writing helpers with Haml and rSpec

Recently Wolfman posted a description about Rails helpers written with Haml::Helpers#open and rSpec.

I want it to be more DRY than it is, since the whole application is using rSpec and Haml, all helpers should have the same before(:each)

So basically - what I did was :

Except it will not work, for various reasons.

Hope to solve all the quirks sometime soon. I know this will cost me some sleep.


1 Comment

Posted by
Yitzhak Bar Geva
21 November 2007 @ 11am

Did you ever solve the problems with writing helpers and rspec?
BTW, where do you work? Can you e-mail me?


Leave a Comment

Using FireBug’s console logger with GreaseMonkey 0.6.4 HAML Caching CGI