Return [] rather than nothing on no results

Fixes #70
This commit is contained in:
Joe Nelson
2014-10-14 11:23:26 -07:00
parent 17ada69411
commit 21e4e583ec
5 changed files with 7 additions and 8 deletions
+2 -2
View File
@@ -37,8 +37,8 @@ spec = around appWithFixture $
request methodGet "/menagerie"
(rangeHdrs $ ByteRangeFromTo 0 1) ""
`shouldRespondWith` ResponseMatcher {
matchBody = Nothing
, matchStatus = 204
matchBody = Just "[]"
, matchStatus = 200
, matchHeaders = ["Content-Range" <:> "*/0"]
}