Do you have a backtrace I can see? I'm too lazy to do it myself :p. In my defense, it's the hottest day of the year in Seattle...
- Nathan wolfmanjm wrote: > I like RSpec as it has the ability to test helpers standalone. > > However I have not yet found the magic incantation to get it to work > with a helper that uses open or puts. > > I suspect you need to include HAML and setup some context for it to > render to. > > Any ideas on how to do that would be appreciated as I had to disable > many of my RSpec helper tests when I started using HAML open. > > On Jul 10, 11:46 pm, Moses Hohman <[EMAIL PROTECTED]> wrote: > >> 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. >> >> thanks, M >> > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
