diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-01-15 17:26:22 -0800 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-01-15 23:29:45 -0200 |
commit | 9669aa7cf1c50964c4729fbd50a8776a1e815b44 (patch) | |
tree | f3c5db719e0dc7b2c2d24b1059cb7be8835f2d47 /actionpack/test/dispatch/best_standards_support_test.rb | |
parent | 63970dc7db273551f977483109dde936c8a7554f (diff) | |
download | rails-9669aa7cf1c50964c4729fbd50a8776a1e815b44.tar.gz rails-9669aa7cf1c50964c4729fbd50a8776a1e815b44.tar.bz2 rails-9669aa7cf1c50964c4729fbd50a8776a1e815b44.zip |
Merge pull request #8914 from nilbus/fix-header-bloat
Remove header bloat introduced by BestStandardsSupport middleware
Conflicts:
actionpack/CHANGELOG.md
Diffstat (limited to 'actionpack/test/dispatch/best_standards_support_test.rb')
-rw-r--r-- | actionpack/test/dispatch/best_standards_support_test.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/actionpack/test/dispatch/best_standards_support_test.rb b/actionpack/test/dispatch/best_standards_support_test.rb index 0737c40a39..551bb9621a 100644 --- a/actionpack/test/dispatch/best_standards_support_test.rb +++ b/actionpack/test/dispatch/best_standards_support_test.rb @@ -16,9 +16,10 @@ class BestStandardsSupportTest < ActiveSupport::TestCase assert_equal nil, headers["X-UA-Compatible"] end - def test_appends_to_app_headers + def test_appends_to_app_headers_without_duplication_after_multiple_requests app_headers = { "X-UA-Compatible" => "requiresActiveX=true" } _, headers, _ = app(true, app_headers).call({}) + _, headers, _ = app(true, app_headers).call({}) expects = "requiresActiveX=true,IE=Edge,chrome=1" assert_equal expects, headers["X-UA-Compatible"] |