Sha256: 7a5d16982750d78fcbc97020da3b2da8fa83b2adebdcfa0ecd2476c9579136fe
Contents?: true
Size: 482 Bytes
Versions: 2
Compression:
Stored size: 482 Bytes
Contents
require "./lib/roger/cli.rb" require "test/unit" require File.dirname(__FILE__) + "/../../helpers/cli" module Roger # Test `roger --version` command class CliVersionTest < ::Test::Unit::TestCase include TestCli def test_minus_minus_verson out, _err = run_command(%w(--version)) assert_includes out, Roger::VERSION end def test_version_command out, _err = run_command(%w(version)) assert_includes out, Roger::VERSION end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
roger-1.2.2 | test/unit/cli/cli_version_test.rb |
roger-1.2.1 | test/unit/cli/cli_version_test.rb |