From cb2f1172e352ebbba33abff88a2ab638512d8ce0 Mon Sep 17 00:00:00 2001 From: Julian Simioni Date: Wed, 2 Sep 2015 15:11:33 -0400 Subject: [PATCH] Use text parameter in ciao tests --- test/ciao/search/success.coffee | 2 +- test/ciao/suggest/nearby_nobias.coffee | 2 +- test/ciao/suggest/success.coffee | 2 +- test/ciao/suggest/success_nearby.coffee | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/ciao/search/success.coffee b/test/ciao/search/success.coffee index c1ceba9e..9e37a5f4 100644 --- a/test/ciao/search/success.coffee +++ b/test/ciao/search/success.coffee @@ -1,5 +1,5 @@ #> valid search query -path: '/v1/search?input=lake&lat=29.49136&lon=-82.50622' +path: '/v1/search?text=lake&lat=29.49136&lon=-82.50622' #? 200 ok response.statusCode.should.equal 200 diff --git a/test/ciao/suggest/nearby_nobias.coffee b/test/ciao/suggest/nearby_nobias.coffee index 6c7347d2..295f0740 100644 --- a/test/ciao/suggest/nearby_nobias.coffee +++ b/test/ciao/suggest/nearby_nobias.coffee @@ -1,6 +1,6 @@ #> suggest without geo bias -path: '/v1/suggest/nearby?input=a' +path: '/v1/suggest/nearby?text=a' #? 400 bad request response.statusCode.should.equal 400 diff --git a/test/ciao/suggest/success.coffee b/test/ciao/suggest/success.coffee index 71cd13a7..e33b3f56 100644 --- a/test/ciao/suggest/success.coffee +++ b/test/ciao/suggest/success.coffee @@ -1,6 +1,6 @@ #> valid suggest query -path: '/v1/suggest?input=a&lat=0&lon=0' +path: '/v1/suggest?text=a&lat=0&lon=0' #? 200 ok response.statusCode.should.equal 200 diff --git a/test/ciao/suggest/success_nearby.coffee b/test/ciao/suggest/success_nearby.coffee index 128b880e..35282a47 100644 --- a/test/ciao/suggest/success_nearby.coffee +++ b/test/ciao/suggest/success_nearby.coffee @@ -1,6 +1,6 @@ #> valid suggest query -path: '/v1/suggest/nearby?input=a&lat=29.49136&lon=-82.50622' +path: '/v1/suggest/nearby?text=a&lat=29.49136&lon=-82.50622' #? 200 ok response.statusCode.should.equal 200