Sha256: 638af5bca634aa38eb554cd146182f3fa95e163419477d7d2a2b2e2169922546
Contents?: true
Size: 299 Bytes
Versions: 9
Compression:
Stored size: 299 Bytes
Contents
require "spec_helper" describe Simple::Httpd do describe "debug feature" do it "returns CORS headers on dynamic responses" do http.get "/debug?foo" expect_response '{"foo"=>nil}' + "\n" expect(http.response.headers["content-type"]).to match(/text\/plain/) end end end
Version data entries
9 entries across 9 versions & 1 rubygems