[TEST] Fixed the delete_template test so that it works for 0.90.*

This commit is contained in:
Clinton Gormley 2013-09-25 13:54:08 +02:00
parent 766d6e60ea
commit e283e0dc38
1 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
setup:
- do:
indices.delete_template:
name: '*'
ignore: 404
---
"Get missing template - post 0.90.3":
- skip:
@ -13,6 +18,10 @@
- skip:
version: "0.90.3 - 999"
reason: "Missing templates didn't throw 404 before 0.90.3"
- do:
indices.delete_template:
name: test
ignore: 404
- do:
indices.get_template:
name: test