aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/dispatch/header_test.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2015-08-20 15:57:15 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2015-08-21 11:21:10 -0700
commit34fa6658dd1b779b21e586f01ee64c6f59ca1537 (patch)
tree28b43f910a8c88c17b88f9ec991c0bdf89f86de9 /actionpack/test/dispatch/header_test.rb
parentc6cfcc6124fdef4df3a406f389ba32be486cd437 (diff)
downloadrails-34fa6658dd1b779b21e586f01ee64c6f59ca1537.tar.gz
rails-34fa6658dd1b779b21e586f01ee64c6f59ca1537.tar.bz2
rails-34fa6658dd1b779b21e586f01ee64c6f59ca1537.zip
pass a request object to the headers object
Diffstat (limited to 'actionpack/test/dispatch/header_test.rb')
-rw-r--r--actionpack/test/dispatch/header_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/dispatch/header_test.rb b/actionpack/test/dispatch/header_test.rb
index 782c2cb11d..79600b654b 100644
--- a/actionpack/test/dispatch/header_test.rb
+++ b/actionpack/test/dispatch/header_test.rb
@@ -2,7 +2,7 @@ require "abstract_unit"
class HeaderTest < ActiveSupport::TestCase
def make_headers(hash)
- ActionDispatch::Http::Headers.new hash
+ ActionDispatch::Http::Headers.new ActionDispatch::Request.new hash
end
setup do