[TESTS] Fixed YAML in put_templates test

This commit is contained in:
Clinton Gormley 2014-03-06 12:16:01 +01:00
parent 9f502b0129
commit f4c0c3dae6
1 changed files with 7 additions and 7 deletions

View File

@ -25,17 +25,17 @@
template: test-* template: test-*
aliases: aliases:
test_alias: {} test_alias: {}
test_blias: {routing: b} test_blias: { routing: b }
test_clias: {filter: {term :{user : kimchy}}} test_clias: { filter: { term: { user: kimchy }}}
- do: - do:
indices.get_template: indices.get_template:
name: test name: test
- match: {test.template: "test-*"} - match: { test.template: "test-*" }
- length: {test.aliases: 3} - length: { test.aliases: 3 }
- is_true: test.aliases.test_alias - is_true: test.aliases.test_alias
- match: {test.aliases.test_blias.index_routing: "b"} - match: { test.aliases.test_blias.index_routing: "b" }
- match: {test.aliases.test_blias.search_routing: "b"} - match: { test.aliases.test_blias.search_routing: "b" }
- match: {test.aliases.test_clias.filter.term.user: "kimchy"} - match: { test.aliases.test_clias.filter.term.user: "kimchy" }