write (unit) tests using something like [roundup](https://github.com/bmizerany/roundup/), [Bats](https://github.com/sstephenson/bats), [assert.sh](https://github.com/lehmannro/assert.sh), or [shelltestrunner](http://joyful.com/shelltestrunner/). write tests for - [ ] attempting to deploy without setting up first - [ ] non-existent deploy_directory (#5) - [ ] empty deploy_directory (#5) - [x] non-existent remote deploy_branch (#5) - [x] non-existent local deploy_branch - [ ] non-writable remote repo - [x] setup should not delete existing files in deploy_directory (i think it does currently if a file also exists in the repo's root) - [ ] don't expose repo URL - [ ] even when an operation fails (#7)
write (unit) tests using something like roundup, Bats, assert.sh, or shelltestrunner.
write tests for