[rspec-users] Webrat - Fill in text field by id
sfeley at gmail.com
Fri Mar 6 15:33:40 EST 2009
On Fri, Mar 6, 2009 at 2:22 PM, Steve Molitor <stevemolitor at gmail.com> wrote:
> Well I'm reading the 0.4.2 webrat rdoc for fill_in, at it says:
> "field can be either the value of a name attribute (i.e. user[email]) or the
> text inside a <label>element that points at the <input> field."
> Does it also try the id?
Try it! (Or read the code. Or both.)
Steve Eley (sfeley at gmail.com)
ESCAPE POD - The Science Fiction Podcast Magazine
More information about the rspec-users