Method: RSpec::Matchers#with_email_field

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

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



323
324
325
326
# File 'lib/rspec-html-matchers.rb', line 323

def with_email_field name, value=nil
  options = form_tag_options('email',name,value)
  should_have_input(options)
end

Comments