Guest User

Untitled

a guest
Jul 21st, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. diff --git a/spec/inputs/check_boxes_input_spec.rb b/spec/inputs/check_boxes_input_spec.rb
  2. index 0a886a6..02f3882 100644
  3. --- a/spec/inputs/check_boxes_input_spec.rb
  4. +++ b/spec/inputs/check_boxes_input_spec.rb
  5. @@ -231,6 +231,7 @@ describe 'check_boxes input' do
  6.  
  7. it "should have one item disabled; the specified one" do
  8. output_buffer.concat(@form) if Formtastic::Util.rails3?
  9. + output_buffer.should have_tag("form li fieldset ol li input[@type='hidden'][@disabled='disabled']", :count => 1)
  10. output_buffer.should have_tag("form li fieldset ol li label input[@disabled='disabled']", :count => 1)
  11. output_buffer.should have_tag("form li fieldset ol li label[@for='post_author_ids_#{@fred.id}']", /fred/i)
  12. output_buffer.should have_tag("form li fieldset ol li label input[@disabled='disabled'][@value='#{@fred.id}']")
Add Comment
Please, Sign In to add comment