class Capybara::RackTest::Form

def request_method

def request_method
  /post/i.match?(self[:method] || '') ? :post : :get
end