lib/rspec-html-matchers.rb
# form_tag in method name name mean smth. like input, submit, tags that should appear in a form
form_tag in method name name mean smth. like input, submit, tags that should appear in a form
form_tag in method name name mean smth . like input submit tags that should appear in a form
def form_tag_options form_tag_type, form_tag_name, form_tag_value=nil
    options = { :with => { :name => form_tag_name, :type => form_tag_type } }
    options[:with].merge!(:value => form_tag_value.to_s) if form_tag_value
    return options
  end
def form_tag_options form_tag_type , form_tag_name , form_tag_value = nil options = { :with => { :name => form_tag_name , :type => form_tag_type } } options [ :with ] . merge! ( :value => form_tag_value . to_s ) if form_tag_value return options end
form_tag in method name name mean smth.
form_tag in method name name mean smth .
# .to_s if value is a digit or smth. else, see issue#10
form_tag_type
<not_specific>
form_tag_name
<not_specific>
form_tag_value
<not_specific>