mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix a few more 1.9 bugs. Rack 1.0.1 is required for 1.9 compliance but not release, so bundling 1.0.1 from git
This commit is contained in:
parent
c44d560145
commit
ef70ad5538
2 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@ rails_root = Pathname.new(File.dirname(__FILE__)).join("..")
|
|||
|
||||
Gem.sources.each { |uri| source uri }
|
||||
|
||||
gem "rack", "~> 1.0.0"
|
||||
gem "rack", "1.0.1", :git => "git://github.com/rack/rack.git", :branch => "rack-1.0"
|
||||
gem "rack-test", "~> 0.5.0"
|
||||
gem "activesupport", "3.0.pre", :vendored_at => rails_root.join("activesupport")
|
||||
gem "activemodel", "3.0.pre", :vendored_at => rails_root.join("activemodel")
|
||||
|
|
|
@ -18,7 +18,7 @@ class TestRequestTest < ActiveSupport::TestCase
|
|||
assert_equal "0.0.0.0", env.delete("REMOTE_ADDR")
|
||||
assert_equal "Rails Testing", env.delete("HTTP_USER_AGENT")
|
||||
|
||||
assert_equal [0, 1], env.delete("rack.version")
|
||||
assert_equal [1, 0], env.delete("rack.version")
|
||||
assert_equal "", env.delete("rack.input").string
|
||||
assert_kind_of StringIO, env.delete("rack.errors")
|
||||
assert_equal true, env.delete("rack.multithread")
|
||||
|
|
Loading…
Reference in a new issue