Created
April 9, 2014 04:38
-
-
Save initcron/10226548 to your computer and use it in GitHub Desktop.
bats test for git
This file contains hidden or 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
#!/usr/bin/env bats | |
@test "git binary is found in PATH" { | |
run which git | |
[ "$status" -eq 0 ] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment