Clarifying test case for not reinstalling dependencies

This commit is contained in:
Jonas Linde 2017-10-12 14:02:36 +02:00
parent 4b4faa8fa3
commit 34d433aa41
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ load test_helpers
@test "plugins are installed with install-plugins.sh even when already exist" {
run docker build -t $SUT_IMAGE-install-plugins-update --no-cache $BATS_TEST_DIRNAME/install-plugins/update
assert_success
assert_line --partial 'Skipping already installed dependency'
assert_line --partial 'Skipping already installed dependency javadoc'
assert_line "Using provided plugin: ant"
# replace DOS line endings \r\n
run bash -c "docker run --rm $SUT_IMAGE-install-plugins-update unzip -p /var/jenkins_home/plugins/maven-plugin.jpi META-INF/MANIFEST.MF | tr -d '\r'"