[Rails] Re: Re: Re: testing errors

2010-01-27 Thread Vishwa Rao
Colin Law wrote: Could you not top post please, it is easier to follow a thread if you insert your comments inline 2010/1/27 Vishwa Rao li...@ruby-forum.com: 9        flash[:message] = Signup successful 10        redirect_to :action = welcome 11      else 12        flash[:warning] =

Re: [Rails] Re: Re: Re: testing errors

2010-01-27 Thread Colin Law
2010/1/27 Vishwa Rao li...@ruby-forum.com: Colin Law wrote: ... I got another error on the line assert_invalid_column_on_record user, login So I googled and found that it is deprecated and hence suggested using: assert(find_record_in_template(user).errors.invalid?(:password)) When I use