Permalink
Browse files

make the spec for hidden input more specific by checking name attr.

  • Loading branch information...
1 parent 9de802f commit 6b2d38c918d4259f05930fd893aa97ad5a5286be @kchien kchien committed Feb 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/inputs/select_input_spec.rb
@@ -377,7 +377,7 @@
end
output_buffer.concat(@form) if Formtastic::Util.rails3?
- output_buffer.should have_tag("form li input[@type='hidden']")
+ output_buffer.should have_tag("form li input[@type='hidden'][@name='author[post_ids][]']")
end
end

0 comments on commit 6b2d38c

Please sign in to comment.