[Rails] Re: Missing Template when testing with the Brain Buster Captcha partial

2010-11-23 Thread Kiminari H.
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/conta

[Rails] Re: Missing Template when testing with the Brain Buster Captcha partial

2009-06-08 Thread Matt W.
Sorry, I didn't mean to confuse. I'd say the first error… >>> ActionView::TemplateError: Missing template /_captcha.erb in view >>> path >>> app/views:test/vendor/plugins/brain_buster/views/brain_busters …is still the prominent one. I tried your suggestion and am getting the same error. Do you h

[Rails] Re: Missing Template when testing with the Brain Buster Captcha partial

2009-06-08 Thread Rob Biedenharn
My original suggestion was based on the error message: >>> ActionView::TemplateError: Missing template /_captcha.erb in view >>> path >>> app/views:test/vendor/plugins/brain_buster/views/brain_busters The partial you called out was render :partial => '/captcha' Your new error is clear

[Rails] Re: Missing Template when testing with the Brain Buster Captcha partial

2009-06-07 Thread Matt W.
Just to experiment, I used this instead: <%= render :partial => "#{RAILS_ROOT}/vendor/plugins/brain_buster/ views/brain_busters/captcha.html.erb" unless action_name == 'edit' %> and now I get the following error: ActionView::TemplateError: Called id for nil, which would mistakenly be 4 -- if yo

[Rails] Re: Missing Template when testing with the Brain Buster Captcha partial

2009-06-07 Thread Matt W.
Thanks, but unfortunately, that had no affect…have you ever run into this kind of thing before? On Jun 7, 2:27 pm, Rob Biedenharn wrote: > Take off the slash? > >    <%= render :partial => 'captcha' unless action_name == 'edit' %> > > -Rob > > Rob Biedenharn          http://agileconsultingllc.co

[Rails] Re: Missing Template when testing with the Brain Buster Captcha partial

2009-06-07 Thread Rob Biedenharn
Take off the slash? <%= render :partial => 'captcha' unless action_name == 'edit' %> -Rob Rob Biedenharn http://agileconsultingllc.com r...@agileconsultingllc.com On Jun 7, 2009, at 12:22 AM, Matt W. wrote: > > When I run my functional tests, they throw an error with the following