Rack body should respond to each, passing string breaks on 1.9.2
This commit is contained in:
parent
aa5fefa385
commit
b0d18b89bb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue