Sha256: dabcda6cdcc865f14e92c7015078aaf73c927661a591053114bbbdfd34bfcf2e

Contents?: true

Size: 858 Bytes

Versions: 152

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

152 entries across 152 versions & 1 rubygems

Version Path
travis-1.6.8.travis.449.6 spec/cli/help_spec.rb
travis-1.6.8.travis.447.6 spec/cli/help_spec.rb
travis-1.6.7.travis.446.6 spec/cli/help_spec.rb
travis-1.6.7 spec/cli/help_spec.rb
travis-1.6.7.travis.445.6 spec/cli/help_spec.rb
travis-1.6.7.travis.443.6 spec/cli/help_spec.rb
travis-1.6.7.travis.442.6 spec/cli/help_spec.rb
travis-1.6.7.travis.441.6 spec/cli/help_spec.rb
travis-1.6.7.travis.434.6 spec/cli/help_spec.rb
travis-1.6.7.travis.431.6 spec/cli/help_spec.rb
travis-1.6.7.travis.428.9 spec/cli/help_spec.rb
travis-1.6.7.travis.427.9 spec/cli/help_spec.rb
travis-1.6.7.travis.426.8 spec/cli/help_spec.rb
travis-1.6.7.travis.425.8 spec/cli/help_spec.rb
travis-1.6.7.travis.422.4 spec/cli/help_spec.rb
travis-1.6.7.travis.420.4 spec/cli/help_spec.rb
travis-1.6.6 spec/cli/help_spec.rb
travis-1.6.6.travis.419.4 spec/cli/help_spec.rb
travis-1.6.6.travis.417.4 spec/cli/help_spec.rb
travis-1.6.5 spec/cli/help_spec.rb