Sha256: 38dba78554b9a56062859de8ebf73f0181a10e222b813ce36f07c168045b7903

Contents?: true

Size: 481 Bytes

Versions: 25

Compression:

Stored size: 481 Bytes

Contents

require "test_helper"
require "./lib/roger/cli"

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

25 entries across 25 versions & 1 rubygems

Version Path
roger-1.10.0 test/unit/cli/cli_version_test.rb
roger-1.9.1 test/unit/cli/cli_version_test.rb
roger-1.9.0 test/unit/cli/cli_version_test.rb
roger-1.8.0 test/unit/cli/cli_version_test.rb
roger-1.7.2 test/unit/cli/cli_version_test.rb
roger-1.7.1 test/unit/cli/cli_version_test.rb
roger-1.7.0 test/unit/cli/cli_version_test.rb
roger-1.6.4 test/unit/cli/cli_version_test.rb
roger-1.6.3 test/unit/cli/cli_version_test.rb
roger-1.6.2 test/unit/cli/cli_version_test.rb
roger-1.6.1 test/unit/cli/cli_version_test.rb
roger-1.6.0 test/unit/cli/cli_version_test.rb
roger-1.5.0 test/unit/cli/cli_version_test.rb
roger-1.4.6 test/unit/cli/cli_version_test.rb
roger-1.4.5 test/unit/cli/cli_version_test.rb
roger-1.4.4 test/unit/cli/cli_version_test.rb
roger-1.4.3 test/unit/cli/cli_version_test.rb
roger-1.4.2 test/unit/cli/cli_version_test.rb
roger-1.3.5 test/unit/cli/cli_version_test.rb
roger-1.4.1 test/unit/cli/cli_version_test.rb