'find_record_in_template' in a functional test

Hello,

I’m currently upgrading an old Rails application to Rails 3 and I have
to cope with such assertion in my functional tests :

assert(find_record_in_template(“account”).errors.invalid?(“password”))

Unfortunately, the method ‘find_record_in_template’ does no longer
exists.

How can I substitute it with ? What is the alternative solution ?

Thank you,

Fabrice

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs