search for: helper_helper_spec

Displaying 1 result from an estimated 1 matches for "helper_helper_spec".

2007 Nov 03
1
Specs for Helpers that call render
...$ spec spec/helpers/home_helper_spec.rb .F 1) NoMethodError in ''HelperHelper should render partial'' You have a nil object when you didn''t expect it! The error occurred while evaluating nil.render app/helpers/helper_helper.rb:4:in `render_partial'' ./spec/helpers/helper_helper_spec.rb:3: Finished in 0.00000 seconds 1 example, 1 failure ## I tried adding a before(:each) to setup response, controller, and template objects that render would be called on but the error was always the same. I am still uncertain I did this correctly although I did spend some time looking a...