Sha256: 597c914b462b892e62b14c1658632b826c103cf42c60e218d558d78612662041
Contents?: true
Size: 451 Bytes
Versions: 3
Compression:
Stored size: 451 Bytes
Contents
require 'helper' require 'solusvm/cli' class TestCli < Test::Unit::TestCase def setup # Prevents mocha from stubbing non existent methods so that we now if the CLI is failing because # something was moved around. Mocha::Configuration.prevent(:stubbing_non_existent_method) end def test_should_print_version $stdout.expects(:puts).with(Solusvm::VERSION) Solusvm::Cli.start(cli_expand_base_arguments(["version"])) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
solusvm-1.0.0.beta3 | test/test_cli.rb |
solusvm-1.0.0.beta2 | test/test_cli.rb |
solusvm-1.0.0.beta | test/test_cli.rb |