1 2 3 4 5 6 7 8
require "testing_env" class IntegrationCommandTestVersion < IntegrationCommandTestCase def test_version assert_match HOMEBREW_VERSION.to_s, cmd("--version") end end