Sha256: ed7f7bec03d2b8ebcf7882086247d1024a0da0b2dafe91b76fe27daa6077afc9
Contents?: true
Size: 748 Bytes
Versions: 5
Compression:
Stored size: 748 Bytes
Contents
# frozen_string_literal: true require 'webrat/core/elements/form' require 'action_dispatch/testing/integration' module Webrat Form.class_eval do def self.parse_rails_request_params(params) Rack::Utils.parse_nested_query(params) end end module Logging # Avoid RAILS_DEFAULT_LOGGER deprecation warning def logger # :nodoc: ::Rails.logger end end class RailsAdapter protected def do_request(http_method, url, data, headers) update_protocol(url) integration_session.send(http_method, normalize_url(url), params: data, headers: headers) end end end module ActionDispatch #:nodoc: IntegrationTest.class_eval do include Webrat::Methods include Webrat::Matchers end end
Version data entries
5 entries across 5 versions & 1 rubygems