Skip to content

Commit

Permalink
Initial test
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Van Fleet committed Aug 9, 2016
1 parent e24d44b commit d995a2c
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions tests/image.bats
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/usr/bin/env bats

load ../common

setup() {
./bin/rebuild.sh
}

@test "Should be buildable" {
run bin/build.sh
[ "$status" -eq 0 ]
}

@test "Concludes first-run experience" {
result="$(docker run -i $maintainer/$imagename find /tmp/firsttimerunning)"
[ "$result" != '' ]
}

0 comments on commit d995a2c

Please sign in to comment.