Method: Capybara::RackTest::Browser#submit

Defined in:
lib/capybara/rack_test/browser.rb

#submit(method, path, attributes) ⇒ Object



25
26
27
28
29
# File 'lib/capybara/rack_test/browser.rb', line 25

def submit(method, path, attributes)
  path = request_path if not path or path.empty?
  process(method, path, attributes)
  follow_redirects!
end