Sha256: 6fe7d2b13f58d7636d4466d68cbd88bac2d9a4cd3890a6cb8dcd9a14db27b6f9
Contents?: true
Size: 424 Bytes
Versions: 9
Compression:
Stored size: 424 Bytes
Contents
require "spec_helper" describe Simple::Httpd do describe "X-Processing headers" do it "returns X-Processing headers on dynamic responses" do http.get "/" expect(http.response.headers.keys).to include("x-processing") end it "returns X-Processing headers on static responses" do http.get "/README.txt" expect(http.response.headers.keys).not_to include("x-processing") end end end
Version data entries
9 entries across 9 versions & 1 rubygems