Forum: RSpec Testing HAML views with RSpec

Posted by Rafael Uchôa (Guest)
on 2010-08-21 06:52
(Received via mailing list)
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.
Posted by David Chelimsky (Guest)
on 2010-08-21 18:43
(Received via mailing list)
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?
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.