This commit is contained in:
Kris De Volder
2017-12-12 08:58:58 -08:00
parent 8c771e2471
commit eb9a28d777

View File

@@ -4078,6 +4078,18 @@ public class ConcourseEditorTest {
);
}
@Test public void getStepVersionShouldAcceptMap() throws Exception {
//See https://github.com/spring-projects/sts4/pull/24
Editor editor = harness.newEditor(
"jobs:\n" +
"- name: do-stuff\n" +
" plan:\n" +
" - get: cf-deployment-git\n" +
" version: { ref: ((cf_deployment_commit_ref)) }"
);
editor.assertProblems("cf-deployment-git|resource does not exist");
}
//////////////////////////////////////////////////////////////////////////////
private void assertContextualCompletions(String conText, String textBefore, String... textAfter) throws Exception {