Sha256: 37da6b9c7f2012168df59170d97c0626cd37dac4ec1074aa051fce8c1ce7347e

Contents?: true

Size: 715 Bytes

Versions: 181

Compression:

Stored size: 715 Bytes

Contents

require 'spec_helper'

describe Travis::CLI::Status do
  example "travis status" do
    run_cli('status').should be_success
    stdout.should be == "failed\n"
  end

  example "travis status -x" do
    run_cli('status', '-x').should_not be_success
    stdout.should be == "failed\n"
  end

  example "travis status -q" do
    run_cli('status', '-q').should be_success
    stdout.should be_empty
  end

  example "travis status -pqx" do
    run_cli('endpoint', '-pqx').should_not be_success
    stdout.should be_empty
  end

  example "travis status -i" do
    run_cli('status', '-i', '--skip-completion-check', '-r', 'travis-ci/travis.rb').should be_success
    stdout.should be == "build #6180 failed\n"
  end
end

Version data entries

181 entries across 181 versions & 3 rubygems

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