Sha256: 623ea021a4897397b1cb14e496fe0a1ce6b337ab232e6924e66090cfb8ec893d

Contents?: true

Size: 394 Bytes

Versions: 3

Compression:

Stored size: 394 Bytes

Contents

require "methadone/test/base_integration_test"

class TestSomething < Methadone::BaseIntegrationTest
  def test_truth
    stdout,stderr,results = run_app("<%= gemname %>","--help")
    assert_banner(stdout, "<%= gemname %>", takes_options: true, takes_arguments: false)
    assert_option(stdout,"-h", "--help")
    assert_option(stdout,"--version")
    assert_oneline_summary(stdout)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
methadone-2.0.2 templates/test_unit/test/integration/test_cli.rb.erb
methadone-2.0.1 templates/test_unit/test/integration/test_cli.rb.erb
methadone-2.0.0 templates/test_unit/test/integration/test_cli.rb.erb