[rspec-users] flash should be empty (typeError)?

Jamal Soueidan lists at ruby-forum.com
Tue Oct 30 16:38:52 EDT 2007


I'm trying to test wether flash.now[:okay] is not empty, but I always
get the following error.

TypeError in 'UserController' can't convert String into Integer

Can't I test the flash if they are not emtpy?

Thanks for help :D

Posted via http://www.ruby-forum.com/.

More information about the rspec-users mailing list