Sha256: 630084ddf45c1bb7d8b61c164689fd788b3d4b029b749bce5c56d92b65c001d8
Contents?: true
Size: 342 Bytes
Versions: 1
Compression:
Stored size: 342 Bytes
Contents
require 'helper' class TestRackForceie7 < Test::Unit::TestCase should "have new header added and the body not modified" do request = Rack::MockRequest.new(Rack::ForceIE7.new(TestApp.new)) response = request.get('/') assert_equal "IE=7", response.headers["X-UA-Compatible"] assert_equal "Body", response.body end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rack-forceie7-1.0.0 | test/test_rack-forceie7.rb |