i have one more problem can u solve this…
This question is related to cucumber and capybara.
I am handling three form in one page . It means i am handling three model. this three are connected to each other using association.
I am using nested form concept.
In development stage working perfectly.
When i write feature file to test , i dont know how to fill my inner forms text field.
I will explain u .
Assume three model a,b,c.
a[b][c][attibutes] # name generated by rail is this
when i write this step in file
fill_in “a[b][c][attibutes]” , :with=>testing
i get error
cannot fill in, no text field, text area or password field with id, name, or label a[b][c][attibutes]
Hope u all understood problem