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
So basically – what I did was :
Spec::Runner.configure do |config|
config.with_options :behaviour_type => :helpers do |config|
config.prepend_before :all do
@haml_is_haml = true
@haml_stack = [Haml::Buffer.new]
Except it will not work, for various reasons.
Hope to solve all the quirks sometime soon. I know this will cost me some sleep.