Sha256: 51024a18aaa3299b2471590582ef2319e0b8f56815a3758caef6446d81a1fd60
Contents?: true
Size: 433 Bytes
Versions: 11
Compression:
Stored size: 433 Bytes
Contents
require "rack/test" module Webrat class RackAdapter extend Forwardable def_delegators :@session, :get, :post, :put, :delete def initialize(session) #:nodoc: @session = session end def response_body response.body end def response_code response.status end def response_headers response.headers end def response @session.last_response end end end
Version data entries
11 entries across 11 versions & 6 rubygems