Quantcast
Viewing latest article 5
Browse Latest Browse All 10

"Using RSpec to test HAML helpers" by Evgeny

Ohh... I actually just used :
  before(:each) do
    @haml_is_haml = true
    @haml_stack = [Haml::Buffer.new(:attr_wrapper =>"'")]
  end

because I have more haml helpers to test than just one.

Viewing latest article 5
Browse Latest Browse All 10

Trending Articles