On Mon, Dec 29, 2008 at 10:59 PM, Jonathan Linowes
<[email protected]> wrote:
> # Then /^the email_confirmation field should be cleared$/ do
> # #how to write this ????
> # #selector( "input[name=user[email_confirmation]")[:value].should
> be_blank
> # end
Are you using Webrat? If so try:
field_labeled("Email Confirmation").value.should be_nil
--
Josh Knowles
phone: 509-979-1593
email: [email protected]
web: http://joshknowles.com
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users