spec/rack-api/headers_spec.rb in rack-api-0.1.2 vs spec/rack-api/headers_spec.rb in rack-api-0.2.0

- old
+ new

@@ -4,10 +4,10 @@ before do Rack::API.app do version :v1 do get("/users(.:format)") do headers["X-Awesome"] = "U R Awesome" - headers["Content-Type"] = "application/x-json" + headers["Content-Type"] = "application/x-json" # the default json header is application/json end end end end