On Mon, Mar 24, 2008 at 12:38 PM, Joe Fiorini <[EMAIL PROTECTED]> wrote: > I'm writing a view test and I render index.html.haml. However, > autotest does not pick up changes to this file, but more importantly, > when the tests do run I get my Haml source displayed in the "actual" > result, instead of rendered Html. Does rspec support Haml in this > way? Is there another way to test Haml views?
RSpec sets up mappings only for rhtml and html.erb views. You can add your own mappings to deal w/ haml if you like. Check this out: http://tinyurl.com/25xdey Cheers, David _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users