Testing HAML views with RSpec

Hi there,
I’m using HAML for my views and I want to test them, but I got a
‘Missing template’ exception when I run it.
I found this topic ( http://urele.com/ua6 ) where David tells to add a
mapping to deal with haml, but I don’t understand how I can do it (the
link shows how do it with Autotest, but I’m don’t using it)

Anyone can help?

Best regards.

On Aug 20, 2010, at 11:22 AM, Rafael Uchôa wrote:

Hi there,
I’m using HAML for my views and I want to test them, but I got a
‘Missing template’ exception when I run it.
I found this topic ( http://urele.com/ua6 ) where David tells to add a
mapping to deal with haml, but I don’t understand how I can do it (the
link shows how do it with Autotest, but I’m don’t using it)

The autotest mappings are unrelated to your issue.

What versions of ruby, rails, and rspec are you using?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs