summaryrefslogtreecommitdiff
path: root/spec/tiny_server.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/tiny_server.rb')
-rw-r--r--spec/tiny_server.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/tiny_server.rb b/spec/tiny_server.rb
index 83c5bf4a42..c3eab76d8e 100644
--- a/spec/tiny_server.rb
+++ b/spec/tiny_server.rb
@@ -136,8 +136,8 @@ module TinyServer
if response = response_for_request(env)
response.call
else
- debug_info = { :message => "no data matches the request for #{env['REQUEST_URI']}",
- :available_routes => @routes, :request => env }
+ debug_info = { message: "no data matches the request for #{env['REQUEST_URI']}",
+ available_routes: @routes, request: env }
# Uncomment me for glorious debugging
# pp :not_found => debug_info
[404, { "Content-Type" => "application/json" }, [ Chef::JSONCompat.to_json(debug_info) ]]