Rack body should respond to each, passing string breaks on 1.9.2

This commit is contained in:
Piotr Sarnacki 2011-04-26 12:41:43 +02:00
parent aa5fefa385
commit b0d18b89bb
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ module Capybara
def call(env)
if env["PATH_INFO"] == "/__identify__"
[200, {}, @app.object_id.to_s]
[200, {}, [@app.object_id.to_s]]
else
@app.call(env)
end