Hey folks. In my controller specs, when I stub #render_to_string, #render is also stubbed out. Thus, if a controller action calls #render, the stubbed #render returns what #render_to_string returns, which causes specs to fail.
http://pastie.org/2339809 Am I doing something strange or wrong? If not, how can I stub #render_to_string without affecting #render ? Thanks, Nick
_______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users