Hi guys,
I'm writing a integration test and i'm still have problems with a form field.
The RSpec continues to show me a message bellow:
Failure/Error: fill_in :password_confirmation, :with =>
@attr[:password_confirmation]
Webrat::NotFoundError:
Could not find field: :password_confirmation
But the field is there, look the field code:
<div>
<%= f.label :password_confirmation %>
<%= f.password_field :password_confirmation %>
</div>
This field create the follow HTML code for me:
<div>
<label for="subdomain_password_confirmation">Password confirmation</label>
<input id="subdomain_password_confirmation"
name="subdomain[password_confirmation]" size="30" type="password" />
</div>
And it works fine when I use the browser.
Please, Has anybody idea of what's happening?
Att,
Pablo Lacerda de Miranda
[email protected]
+55 11 8701-1086
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users