Add test for reconcile of stemcells block

This commit is contained in:
Kris De Volder
2017-07-11 10:42:48 -07:00
parent 237ec550e4
commit 011cb5bcb0
2 changed files with 15 additions and 1 deletions

View File

@@ -152,6 +152,18 @@ public class BoshEditorTest {
"- alias<*>"
);
}
@Test public void stemcellReconciling() throws Exception {
Editor editor = harness.newEditor(
"stemcells:\n" +
"- {}"
);
editor.assertProblems(
"-|One of [name, os] is required",
"-|[alias, version] are required",
"}|[director_uuid, instance_groups, name, releases, update] are required"
);
}
@Test public void releasesBlockCompletions() throws Exception {
Editor editor = harness.newEditor(