From fc1fc384e07e2c87eb7177e5cc527eef59dc0d5a Mon Sep 17 00:00:00 2001 From: Jim Van Fleet Date: Mon, 18 Jul 2016 13:24:54 -0400 Subject: [PATCH] Good failing test --- tests/shibboleth-idp.bats | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/tests/shibboleth-idp.bats b/tests/shibboleth-idp.bats index 8274927..4413f25 100644 --- a/tests/shibboleth-idp.bats +++ b/tests/shibboleth-idp.bats @@ -2,12 +2,7 @@ load ../common -@test "file reading" { - result="$(echo $maintainer)" - [ "$result" = 'bigfleet' ] -} - -@test "container output" { - result="$(docker run bigfleet/shibboleth_idp)" - [ "$result" = '3.2.1' ] +@test "Creates non-root host directory" { + result="$(docker run -it bigfleet/shibboleth_idp ls /opt)" + [ "$result" != '' ] } \ No newline at end of file