#361 new
michalczyz (at gmail)

Attribute checked is missed in Radio Button Field

Reported by michalczyz (at gmail) | March 1st, 2010 @ 06:28 AM

radiobutton definition

<input checked="checked" class="star {split:2}" id="new_product_rating_usability_5" name="new_product_rating_usability" type="radio" value="5" />

result from method checked?

false

result from inspect

#<Webrat::RadioField 
@element=#<Nokogiri::XML::Element:0x37ccfec name="input" 
attributes=[
#<Nokogiri::XML::Attr:0x37cbef8 name="class" value="star {split:2}">, 
#<Nokogiri::XML::Attr:0x37cbee4 name="id" value="new_product_rating_usability_5">, 
#<Nokogiri::XML::Attr:0x37cbed0 name="name" value="new_product_rating_usability">, 
#<Nokogiri::XML::Attr:0x37cbebc name="type" value="radio">, 
#<Nokogiri::XML::Attr:0x37cbea8 name="value" value="5">
]
>
>

i have no idea what is wrong

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Ruby Acceptance Testing for Web applications.

Shared Ticket Bins

People watching this ticket

Pages