Forum: RSpec how should i use response.should be sucess method pass

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
76e01275c026bca5c46b2cb5e1ce174a?d=identicon&s=25 Mano ah (manoah)
on 2008-10-20 08:12
I want to test the basic controller test action and to make
response.should be_sucess method work for it. How can i do
Cdf378de2284d8acf137122e541caa28?d=identicon&s=25 Matt Wynne (mattwynne)
on 2008-10-20 09:24
(Received via mailing list)
Have you looked at this:
http://rspec.info/documentation/rails/writing/cont...

Have you tried using the generators for rspec controllers?
This topic is locked and can not be replied to.