thoughtbot/capybara-webkit — Issue #236: HTML DOCTYPE being inserted in responses
Author: whitethunder
Created: 2012-01-07 00:34:35+00:00
State: open

When using akephalos as the driver in Cucumber's env.rb, I get this response from one of my controllers:
{"expires_in":null,"access_token":"token"}

When I switch to capybara-webkit, I get:
"\n

{\"expires_in\":null,\"access_token\":\"token\"}

\n"

Where is the additional HTML coming from? Maybe this is a configuration issue for me but I'm not sure where. Thanks!