Sha256: d42da47314cd85c1e5899440dd9ab0974ea717832ed23500ede64786c31c01db
Contents?: true
Size: 356 Bytes
Versions: 3
Compression:
Stored size: 356 Bytes
Contents
require 'rubygems' require 'bundler/setup' Bundler.require :default, :development require 'test/unit' class Test::Unit::TestCase end def rack_env_for(url, options = {}) components = url.split('?') {'PATH_INFO' => components[0], 'QUERY_STRING' => components[1] || ''}.merge(options) end def supported_status_codes [:r301, :r302, :r303, :r307] end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rack-rewrite-1.5.1 | test/test_helper.rb |
rack-rewrite-1.5.0 | test/test_helper.rb |
rack-rewrite-1.4.1 | test/test_helper.rb |