Re: [rspec-users] Oddness with fieldnames containing an underscore

2008-12-10 Thread Andrew Premdas
Probably not a bug, if you look at the id's of the fields your matching by viewing source in your browser you'll see that they have an id that begins with 'user'. So when webrat fails to match on the label text it then tries to match on the id. You can use the debugger to step into the webrat code

[rspec-users] Oddness with fieldnames containing an underscore

2008-12-10 Thread John Meredith
Hi all, I'm not sure if this is a cucumber or webrat thing given that I only starting tinkering with both last night for the first time (testing newb as well), but I've come across an oddity when trying to write a scenario to create a user. Scenario: Register new user Given I am on