-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jim Van Fleet
committed
Sep 8, 2016
1 parent
fc40cee
commit 8d92b9d
Showing
2 changed files
with
22 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| #!/usr/bin/env bats | ||
|
|
||
| load ../common | ||
|
|
||
| @test "Creates grouper properties" { | ||
| result="$(docker run -i $maintainer/$imagename ls /opt/etc/grouper.hibernate.properties)" | ||
| [ "$result" != '' ] | ||
| } | ||
|
|
||
| @test "Consumes first-run experience" { | ||
| result="$(docker run -i $maintainer/$imagename ls /tmp/firsttimerunning)" | ||
| [ "$result" != '' ] | ||
| } | ||
|
|
||
| @test "Contains java" { | ||
| run docker run -i $maintainer/$imagename which java | ||
| [ "$status" -eq 0 ] | ||
| } |