search for: raise_missing_template_exception

Displaying 2 results from an estimated 2 matches for "raise_missing_template_exception".

2008 Sep 24
0
Rspec, HAML, view testing
...rtial => "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 &q...
2008 Sep 25
0
Rspec, HAML with view testing
...;, :locals => template_locals end The following error is returned: 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 returned Any ideas on having the template load the correct view? Thanks in advance, --~--~---------~--~----~------------~-------~--~----~ You received this me...