test: query the empty string
This commit is contained in:
committed by
Steve Chavez
parent
96ca177c31
commit
ed90774f53
@@ -1397,3 +1397,13 @@ spec actualPgVersion = do
|
||||
{ matchStatus = 404
|
||||
, matchHeaders = [matchContentTypeJson]
|
||||
}
|
||||
|
||||
context "searching for an empty string" $ do
|
||||
it "works with an empty eq filter" $
|
||||
get "/empty_string?string=eq.&select=id,string" `shouldRespondWith`
|
||||
[json|
|
||||
[{"id":1,"string":""}]
|
||||
|]
|
||||
{ matchStatus = 200
|
||||
, matchHeaders = [matchContentTypeJson]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user