module RSpec::HtmlMatchers
def without_range_field name, min=nil, max=nil, options={}
def without_range_field name, min=nil, max=nil, options={} options = { :with => { :name => name, :type => 'range' }.merge(options.delete(:with)||{}) } options[:with].merge!(:min => min.to_s) if min options[:with].merge!(:max => max.to_s) if max should_not_have_input(options) end