Permalink
Browse files

Revert "Add spec to test for disabled hidden field with disabled chec…

…kbox" until we have the issue properly understood (see GH-498 and branch of same name for WIP).

This reverts commit 91d5292.
  • Loading branch information...
1 parent 7125457 commit d72a2cd88609af3314963cbbc1427f808580db4c @justinfrench committed Feb 9, 2011
Showing with 0 additions and 1 deletion.
  1. +0 −1 spec/inputs/check_boxes_input_spec.rb
@@ -231,7 +231,6 @@
it "should have one item disabled; the specified one" do
output_buffer.concat(@form) if Formtastic::Util.rails3?
- output_buffer.should have_tag("form li fieldset ol li input[@type='hidden'][@disabled='disabled']", :count => 1)
output_buffer.should have_tag("form li fieldset ol li label input[@disabled='disabled']", :count => 1)
output_buffer.should have_tag("form li fieldset ol li label[@for='post_author_ids_#{@fred.id}']", /fred/i)
output_buffer.should have_tag("form li fieldset ol li label input[@disabled='disabled'][@value='#{@fred.id}']")

0 comments on commit d72a2cd

Please sign in to comment.