Sha256: 2936b622daebf553f882be91406738d226e12146e1eff04dfab54f0c01af617c
Contents?: true
Size: 376 Bytes
Versions: 6
Compression:
Stored size: 376 Bytes
Contents
require "rack/test" module Webrat class RackSession 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 @session.last_response end end end
Version data entries
6 entries across 6 versions & 4 rubygems