git-gerrit: test added

Closes Homebrew/homebrew#39760.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Baptiste Fontaine 2015-05-14 19:58:12 +02:00 committed by Mike McQuaid
parent 889c7308b2
commit e6013b721f

View file

@ -1,12 +1,17 @@
require 'formula'
class GitGerrit < Formula
homepage 'https://github.com/fbzhong/git-gerrit'
url 'https://github.com/fbzhong/git-gerrit/archive/v0.3.0.tar.gz'
sha1 '0e38e6f6657ff50d6692de9ce880d4698120325b'
homepage "https://github.com/fbzhong/git-gerrit"
url "https://github.com/fbzhong/git-gerrit/archive/v0.3.0.tar.gz"
sha256 "433185315db3367fef82a7332c335c1c5e0b05dabf8d4fbeff9ecf6cc7e422eb"
head "https://github.com/fbzhong/git-gerrit.git"
def install
prefix.install 'bin'
bash_completion.install 'completion/git-gerrit-completion.bash'
prefix.install "bin"
bash_completion.install "completion/git-gerrit-completion.bash"
end
test do
system "git", "init"
system "git", "gerrit", "help"
end
end