[TEST] Add test specifying fields field /_cat/fielddata REST test

This commit is contained in:
Lee Hinman 2014-05-09 23:54:30 +02:00
parent 6678da8c28
commit 90e019b4a4
1 changed files with 11 additions and 0 deletions

View File

@ -50,3 +50,14 @@
$body: |
/^ total \s+ foo \s+ \n
(\s*\d+(\.\d+)?[gmk]?b \s+ \d+(\.\d+)?[gmk]?b \s \n)+ \s*$/
- do:
cat.fielddata:
h: total,foo
fields: notfoo,foo
v: true
- match:
$body: |
/^ total \s+ foo \s+ \n
(\s*\d+(\.\d+)?[gmk]?b \s+ \d+(\.\d+)?[gmk]?b \s \n)+ \s*$/