I met the same problem and solved it. > When I run my functional tests, they throw an error with the following > message: > > ActionView::TemplateError: Missing template /_captcha.erb in view path > app/views:test/vendor/plugins/brain_buster/views/brain_busters > On line #23 of app/views/contacts/_form.html.erb > > 20: <%= f.label :message %><br /> > 21: <%= f.text_area :message %> > 22: </div> > 23: <%= render :partial => '/captcha' unless action_name == > 'edit' %> > 24: <div><%= f.submit "Submit" %></div> > 25: <% end %> >
I changed single quotation to double quotation. <%= render :partial => "captcha" %> -- Posted via http://www.ruby-forum.com/. -- 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-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.