Mano ah
2008-Oct-20 06:12 UTC
[rspec-users] how should i use response.should be sucess method pass
I want to test the basic controller test action and to make response.should be_sucess method work for it. How can i do -- Posted via http://www.ruby-forum.com/.
Matt Wynne
2008-Oct-20 07:24 UTC
[rspec-users] how should i use response.should be sucess method pass
Have you looked at this: http://rspec.info/documentation/rails/writing/controllers.html Have you tried using the generators for rspec controllers? On 20 Oct 2008, at 07:12, Mano ah wrote:> > I want to test the basic controller test action and to make > response.should be_sucess method work for it. How can i do > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users
Apparently Analagous Threads
- rspec - undefined method `describe'' for main:Object
- response.should have_text leads to undefined method `has_text?'
- [Cucumber, Merb, Webrat] undefined method ''response'' for Merb::Test::World::Webrat
- response.should have_content("1 movie") does not seem to work for me
- Problem with response.should render_template