Hello All, I am a rspec beginner and I am trying to find a way out to write render expectation in controller spec.All methods that I used seem to give me a No Method error.
My controller code is as follows http://pastie.org/2211944 and my controller test is as follows http://pastie.org/2211951 I also used render '/channels/createchannel.html.erb' ChannelsController.expect_render(:action => "createchannel") ChannelsController.render_template(:action => "createchannel") controller.expect_render(:action => "createchannel") controller.render_template(:action => "createchannel") I am using jRuby on Rails1.5.0 and following are the details of gems:- rails-2.3.5 rspec-1.3.0 rspec-rails-1.3.2 It would be great if someone could help me out with this Thanks & Regards Chandrika -- Posted via http://www.ruby-forum.com/. _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users