Method: RSpec::Matchers#with_number_field

Defined in:
lib/rspec-html-matchers.rb

- (Object) with_number_field(name, value = nil)



343
344
345
346
# File 'lib/rspec-html-matchers.rb', line 343

def with_number_field name, value=nil
  options = form_tag_options('number',name,value)
  should_have_input(options)
end

Comments