Fix syntax for template tests

This commit is contained in:
Nik Everett 2016-07-13 11:34:06 -04:00
parent e9d292b450
commit f084469c27
2 changed files with 6 additions and 2 deletions

View File

@ -1,7 +1,9 @@
{
"query": {
"script": {
"script_file": "is_guide"
"script": {
"file": "is_guide"
}
}
}
}

View File

@ -475,7 +475,9 @@ run_elasticsearch_tests() {
curl -s -XPOST 'http://localhost:9200/library/book/_count?pretty' -d '{
"query": {
"script": {
"script_file": "is_guide"
"script": {
"file": "is_guide"
}
}
}
}' | grep \"count\"\ :\ 1