controller testing using rspec

0 views
Skip to first unread message

rspec test

unread,
May 6, 2008, 5:08:43 AM5/6/08
to Ruby on Rails: TextMate
Does anybody know how to do the testing for controllers with rspec??
Coz I really am having a hard time doing the tests.. the error that
always occur was "@controller is nil" and I really cant find a way to
fix it. This is always the error whenever I compile my file. So please
if anyone knows the correct way of testing controllers with rspec..
please reply to this post. Thank you so much.

Nic Williams

unread,
May 6, 2008, 5:09:36 AM5/6/08
to rubyonrail...@googlegroups.com
Perhaps try the rspec mailing list or #rspec on irc?
--
Dr Nic Williams
* Learn TextMate for Rails2 - http://peepcode.com/products/textmate-for-rails-2 *
Training in Ruby/Rails/JavaScript - http://drnicacademy.com
Fun with Ruby/Rails/Javascript - http://drnicwilliams.com
Reply all
Reply to author
Forward
0 new messages