DamonOehlman/testrest — Issue #2: Undefined response does not equal []
Author: nathanoehlman
Created: 2012-02-29 00:50:45+00:00
State: open

Some weird behaviour:

# Test the geocoder returns an empty array when no input is provided
GET /services/geocode/
EXPECT 2xx
[]

Using the browser, I get the following result:
{"error":"not_found","reason":"Document is missing attachment"}

I would expect the test to fail, but it passes. The JSON response section as determined by testrest is undefined, and seems to match the empty array.