class KitchenCompletion < Formula desc "bash completion for Kitchen" homepage "https://github.com/MarkBorcherding/test-kitchen-bash-completion" url "https://github.com/MarkBorcherding/test-kitchen-bash-completion/archive/v1.0.0.tar.gz" sha256 "6a9789359dab220df0afad25385dd3959012cfa6433c8c96e4970010b8cfc483" head "https://github.com/MarkBorcherding/test-kitchen-bash-completion.git" bottle :unneeded def install bash_completion.install "kitchen-completion.bash" => "kitchen" end test do assert_match "-F __kitchen_options", shell_output("source #{bash_completion}/kitchen && complete -p kitchen") end end