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.8.10.travis.943.11 spec/cli/status_spec.rb
travis-1.8.10.travis.942.11 spec/cli/status_spec.rb
travis-1.8.10.travis.941.11 spec/cli/status_spec.rb
travis-1.8.10.travis.940.11 spec/cli/status_spec.rb
travis-1.8.10.travis.935.11 spec/cli/status_spec.rb
travis-1.8.10.travis.933.11 spec/cli/status_spec.rb
travis-1.8.10.travis.931.11 spec/cli/status_spec.rb
travis-1.8.10.travis.930.11 spec/cli/status_spec.rb
travis-1.8.10.travis.929.11 spec/cli/status_spec.rb
travis-1.8.10.travis.927.11 spec/cli/status_spec.rb
travis-1.8.10.travis.925.11 spec/cli/status_spec.rb
travis-1.8.10.travis.924.11 spec/cli/status_spec.rb
travis-1.8.10.travis.923.11 spec/cli/status_spec.rb
travis-1.8.10.travis.922.11 spec/cli/status_spec.rb
travis-1.8.10.travis.921.11 spec/cli/status_spec.rb
travis-1.8.9 spec/cli/status_spec.rb
travis-1.8.9.travis.919.11 spec/cli/status_spec.rb
travis-1.8.9.travis.918.11 spec/cli/status_spec.rb
travis-1.8.9.travis.916.11 spec/cli/status_spec.rb
travis-1.8.9.travis.875.3 spec/cli/status_spec.rb