Browse Source

Use text parameter in ciao tests

pull/215/head
Julian Simioni 9 years ago
parent
commit
cb2f1172e3
  1. 2
      test/ciao/search/success.coffee
  2. 2
      test/ciao/suggest/nearby_nobias.coffee
  3. 2
      test/ciao/suggest/success.coffee
  4. 2
      test/ciao/suggest/success_nearby.coffee

2
test/ciao/search/success.coffee

@ -1,5 +1,5 @@
#> valid search query #> 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 #? 200 ok
response.statusCode.should.equal 200 response.statusCode.should.equal 200

2
test/ciao/suggest/nearby_nobias.coffee

@ -1,6 +1,6 @@
#> suggest without geo bias #> suggest without geo bias
path: '/v1/suggest/nearby?input=a' path: '/v1/suggest/nearby?text=a'
#? 400 bad request #? 400 bad request
response.statusCode.should.equal 400 response.statusCode.should.equal 400

2
test/ciao/suggest/success.coffee

@ -1,6 +1,6 @@
#> valid suggest query #> valid suggest query
path: '/v1/suggest?input=a&lat=0&lon=0' path: '/v1/suggest?text=a&lat=0&lon=0'
#? 200 ok #? 200 ok
response.statusCode.should.equal 200 response.statusCode.should.equal 200

2
test/ciao/suggest/success_nearby.coffee

@ -1,6 +1,6 @@
#> valid suggest query #> 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 #? 200 ok
response.statusCode.should.equal 200 response.statusCode.should.equal 200

Loading…
Cancel
Save