On Thu, Jun 10, 2010 at 2:53 PM, Peter Fitzgibbons <peter.fitzgibb...@gmail.com> wrote: > Hello All, > > I'm trying to view-spec with haml > require 'spec_helper' > > describe "user_sessions/new.html.erb" do > it "renders blank form" do > activate_authlogic > user_session = UserSession.new > assign :user_session, user_session > debugger > render > render.should have_tag('text.email') > end > end > > The response is this Failure : > 1) user_sessions/new.html.haml renders blank form > Failure/Error: render > No route matches {} > > I have verified that 'new.html.erb' renders and matches OK. > > Is there a way in rspec 2 to enable Haml rendering ?
new.html.erb or new.html.haml? _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users