Sha256: 723bc0333d937d05b7784273bca544a0e6d14cb657b8ed6986df7c1890d66759

Contents?: true

Size: 858 Bytes

Versions: 234

Compression:

Stored size: 858 Bytes

Contents

require 'spec_helper'

describe Travis::CLI::Help do
  example "travis help" do
    run_cli('help').should be_success
    stdout.should include("Usage: travis COMMAND")
  end

  example "travis --help" do
    run_cli('--help').should be_success
    stdout.should include("Usage: travis COMMAND")
  end

  example "travis -h" do
    run_cli('-h').should be_success
    stdout.should include("Usage: travis COMMAND")
  end

  example "travis -?" do
    run_cli('-?').should be_success
    stdout.should include("Usage: travis COMMAND")
  end

  example "travis help endpoint" do
    run_cli('help', 'endpoint').should be_success
    stdout.should include("Usage: travis endpoint [OPTIONS]")
  end

  example "travis endpoint --help" do
    run_cli('endpoint', '--help').should be_success
    stdout.should include("Usage: travis endpoint [OPTIONS]")
  end
end

Version data entries

234 entries across 234 versions & 3 rubygems

Version Path
travis-1.11.1 spec/cli/help_spec.rb
travis-1.11.0 spec/cli/help_spec.rb
travis-1.10.1.travis.1341.9 spec/cli/help_spec.rb
travis-1.10.1.travis.1321.9 spec/cli/help_spec.rb
travis-1.10.1.travis.1312.9 spec/cli/help_spec.rb
travis-1.10.1.travis.1311.9 spec/cli/help_spec.rb
travis-1.10.1.travis.1305.9 spec/cli/help_spec.rb
travis-1.10.0 spec/cli/help_spec.rb
travis-1.9.2.travis.1304.9 spec/cli/help_spec.rb
travis-1.9.2.travis.1303.9 spec/cli/help_spec.rb
travis-1.10.0.pre.rc4 spec/cli/help_spec.rb
travis-1.10.0.pre.rc3 spec/cli/help_spec.rb
travis-1.10.0.pre.rc2 spec/cli/help_spec.rb
travis-1.9.2.travis.1288.9 spec/cli/help_spec.rb
travis-1.9.2.travis.1285.9 spec/cli/help_spec.rb
travis-1.9.2.travis.1279.9 spec/cli/help_spec.rb
travis-1.10.0.pre.rc1 spec/cli/help_spec.rb
travis-1.9.2.travis.1254.9 spec/cli/help_spec.rb
travis-1.9.2.travis.1236.9 spec/cli/help_spec.rb
travis-1.9.2.travis.1224.9 spec/cli/help_spec.rb