summaryrefslogtreecommitdiff
path: root/spec/tiny_server.rb
diff options
context:
space:
mode:
authordanielsdeleo <dan@getchef.com>2014-06-11 15:56:51 -0700
committerdanielsdeleo <dan@getchef.com>2014-06-11 17:01:51 -0700
commit739407f0cc4331edcaa232dc6e5fe16a5cca3217 (patch)
tree2a2040e55e9ad156b76d12ce44dabafe33fa9329 /spec/tiny_server.rb
parent8bf683ef0e46963d6cd48b0c679edc32aeb63187 (diff)
downloadchef-739407f0cc4331edcaa232dc6e5fe16a5cca3217.tar.gz
Return rack-compliant 404 messages
Diffstat (limited to 'spec/tiny_server.rb')
-rw-r--r--spec/tiny_server.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/tiny_server.rb b/spec/tiny_server.rb
index 340c5d5fb6..7e6ef3a809 100644
--- a/spec/tiny_server.rb
+++ b/spec/tiny_server.rb
@@ -152,7 +152,7 @@ module TinyServer
:available_routes => @routes, :request => env}
# Uncomment me for glorious debugging
# pp :not_found => debug_info
- [404, {'Content-Type' => 'application/json'}, debug_info.to_json]
+ [404, {'Content-Type' => 'application/json'}, [ debug_info.to_json ]]
end
end