Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
marcel-dias committed Dec 31, 2017
1 parent 7f8bedf commit d38f912
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public class DockerfileTest {
@Test public void parseDockerfile() throws IOException, InterruptedException {
Dockerfile dockerfile = new Dockerfile(dockerfilePath);
Assert.assertThat(dockerfile.getFroms(), IsCollectionWithSize.hasSize(1));
Assert.assertThat(dockerfile.getFroms().getLast(), IsEqual.equalTo("${REGISTRY_URL}learn/tutorial:${TAG}"));
Assert.assertThat(dockerfile.getFroms().getLast(), IsEqual.equalTo("${REGISTRY_URL}hello-world:${TAG}"));
Assert.assertThat(dockerfile.getArgs().keySet(), IsCollectionWithSize.hasSize(2));
Assert.assertThat(dockerfile.getArgs().keySet(), IsCollectionContaining.hasItems("REGISTRY_URL", "TAG"));
}
Expand Down

0 comments on commit d38f912

Please sign in to comment.