Skip to content
This repository has been archived by the owner on May 15, 2020. It is now read-only.

Commit

Permalink
Require json in env fixture since Nack no longer depends on it
Browse files Browse the repository at this point in the history
  • Loading branch information
sstephenson committed Apr 7, 2011
1 parent 539a681 commit 421574f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/fixtures/apps/env/config.ru
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require "json"

run lambda {
body = ENV.keys.grep(/^POW/).inject({}) { |e, k| e.merge(k => ENV[k]) }.to_json
[200, {'Content-Type' => 'text/plain', 'Content-Length' => body.length.to_s}, [body]]
Expand Down

0 comments on commit 421574f

Please sign in to comment.