ryanb/nested_form — Issue #119: Acceptance Tests with Capybara
Author: felipeik
Created: 2011-11-22 17:04:33+00:00
State: open

Is there a way to test if the nested form works with Capybara?

Because if I click "New task", for example, it creates new fields with random id like:

``

I believe it is the time in Javascript...

so I would like to do it:

> fill_in "etc_task_attributes_new_12121213_name", :with => 'Paint fence'

but the id is random!

any help?

Thanks!