fill_in "user_role", :with => @visitor[:role]
This is checking simple input field but input field with hidden it is not working for that is there any other method for hidden field.
fill_in "user_role", :with => @visitor[:role]
This is checking simple input field but input field with hidden it is not working for that is there any other method for hidden field.