Add test for reconcile of stemcells block
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user