Sha256: eeff97682d287208a4fa22a7ab1f629840f5526c3b283124402f087aef4cdd99
Contents?: true
Size: 290 Bytes
Versions: 41
Compression:
Stored size: 290 Bytes
Contents
ENV['RACK_ENV'] = 'test' require 'rspec' require 'rack/test' class ErrorRackApp attr_reader :last_env def initialize @last_env = {} end def call(env) @last_env = env [501, {}, 'fake app'] end end RSpec.configure do |conf| conf.include Rack::Test::Methods end
Version data entries
41 entries across 41 versions & 1 rubygems