Hi all,
Has anybody experience the following problem running testing rspec
against haml views
Attempting to run a view spec
app/view/users/_foo.html.haml
it "should render it" do
render :partial => "users/foo", :locals => template_locals
end
1)
ActionView::MissingTemplate in ''shared/_jar_layout should render
it''
Missing templatet users/_foo.html.erb in view path ....
/usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_view/template.rb:85:in
`raise_missing_template_exception''
I have tried stubbing the template via
@template.stub!(:find_template_extension_for).and_return("haml") #
same
error return
Thanks in advance,
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---