LearnBoost / tobi

Tobi: Expressive server-side functional testing with jQuery
408 stars 33 forks source link

body of 4xx and 5xx errors unavailable #56

Closed psd closed 13 years ago

psd commented 13 years ago

tobi only returns the body contents for a "successful" response (where the status is between 200 and 300) which precludes testing the representation returned in a 404 page, 400/422 errors returned for invalid forms input and a 500 error (admittedly hard to recreate normal processing).

tj commented 13 years ago

shit yeah that's not good one sec

psd commented 13 years ago

there's a pull request to fix this: https://github.com/LearnBoost/tobi/pull/57