Sha256: e173f27e8255a19177e5eaccefce4f9b9ecea1c9cb71e5815dd4bd1b3a393d15
Contents?: true
Size: 552 Bytes
Versions: 13
Compression:
Stored size: 552 Bytes
Contents
require "rubygems" require "bundler" Bundler.setup $:.unshift File.expand_path("../../lib", __FILE__) require "rack-pjax" Bundler.require(:test) # helpers ripped from wycat's Rack::Offline # (https://github.com/wycats/rack-offline/blob/master/spec/spec_helper.rb) module Rack::Test::Methods def self.included(klass) class << klass attr_accessor :app end end def body last_response.body end def status last_response.status end def headers last_response.headers end def app self.class.app end end
Version data entries
13 entries across 13 versions & 2 rubygems