git-standup: add better integration test.

This commit is contained in:
Mike McQuaid 2016-04-16 18:49:59 +01:00
parent 8ba4dc9210
commit 9443a0dec6

View file

@ -12,6 +12,10 @@ class GitStandup < Formula
end
test do
system "git", "standup", "--help"
system "git", "init"
(testpath/"test").write "test"
system "git", "add", "#{testpath}/test"
system "git", "commit", "--message", "test"
system "git", "standup", "HEAD"
end
end