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.14 spec/cli/help_spec.rb
travis-1.6.14.travis.539.6 spec/cli/help_spec.rb
travis-1.6.13.travis.538.6 spec/cli/help_spec.rb
travis-1.6.13 spec/cli/help_spec.rb
travis-1.6.13.travis.536.6 spec/cli/help_spec.rb
travis-1.6.12 spec/cli/help_spec.rb
travis-1.6.13.travis.534.6 spec/cli/help_spec.rb
travis-1.6.12.travis.531.6 spec/cli/help_spec.rb
travis-1.6.12.travis.529.6 spec/cli/help_spec.rb
travis-1.6.12.travis.528.6 spec/cli/help_spec.rb
travis-1.6.12.travis.524.6 spec/cli/help_spec.rb
travis-1.6.12.travis.523.6 spec/cli/help_spec.rb
travis-1.6.12.travis.521.6 spec/cli/help_spec.rb
travis-1.6.12.travis.520.6 spec/cli/help_spec.rb
travis-1.6.12.travis.517.6 spec/cli/help_spec.rb
travis-1.6.11 spec/cli/help_spec.rb
travis-1.6.11.travis.516.6 spec/cli/help_spec.rb
travis-1.6.11.travis.511.6 spec/cli/help_spec.rb
travis-1.6.11.travis.510.6 spec/cli/help_spec.rb
travis-1.6.11.travis.507.6 spec/cli/help_spec.rb