Skip to content

Instantly share code, notes, and snippets.

@initcron
Created April 9, 2014 04:38
Show Gist options
  • Save initcron/10226548 to your computer and use it in GitHub Desktop.
Save initcron/10226548 to your computer and use it in GitHub Desktop.
bats test for git
#!/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