Commit Graph

59 Commits

Author SHA1 Message Date
William Melody 810e407c9e Fix copy/paste typos in help.bats. 2016-01-25 17:21:20 -08:00
William Melody 8faa7a0ab6 Add `_compare()` function to test_helper.bash. 2016-01-25 17:20:10 -08:00
William Melody 8e267fafd7 Edit hosts.bats test names to conform to project conventions. 2016-01-24 22:57:56 -08:00
William Melody 4e7cd2279e Add information about Bats to top of test_helper.bash. 2016-01-24 22:38:55 -08:00
William Melody 0c95e842ad Use /tmp directory for temp file generated with `mktemp`.
Moving to `mktemp` with files in /tmp makes it possible to remove the
local test/tmp directory.
2016-01-24 22:32:37 -08:00
William Melody 835d944bf9 Add help.bats with tests for the `help` subcommand. 2016-01-24 21:49:55 -08:00
William Melody 4cf3bc0a63 Test `file` output against `$HOSTS_PATH`. 2016-01-24 21:27:24 -08:00
William Melody ae9c4f0f4b Add tests for `file`. 2016-01-24 21:21:40 -08:00
William Melody 30ed049441 Add initial test structure with test 'hosts' file. 2016-01-24 21:14:32 -08:00