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.9.travis.874.3 spec/cli/status_spec.rb
travis-1.8.9.travis.867.4 spec/cli/status_spec.rb
travis-1.8.9.travis.853.4 spec/cli/status_spec.rb
travis-1.8.9.travis.844.4 spec/cli/status_spec.rb
travis-1.8.9.travis.837.4 spec/cli/status_spec.rb
travis-1.8.8 spec/cli/status_spec.rb
travis-1.8.9.travis.826.4 spec/cli/status_spec.rb
travis-1.8.7.travis.823.4 spec/cli/status_spec.rb
travis-1.8.7.travis.818.4 spec/cli/status_spec.rb
travis-1.8.7.travis.812.4 spec/cli/status_spec.rb
travis-1.8.6 spec/cli/status_spec.rb
travis-1.8.7.travis.809.4 spec/cli/status_spec.rb
travis-1.8.7.travis.808.4 spec/cli/status_spec.rb
travis-1.8.6.travis.807.4 spec/cli/status_spec.rb
travis-1.8.5 spec/cli/status_spec.rb
travis-1.8.6.travis.796.4 spec/cli/status_spec.rb
travis-1.8.5.travis.793.4 spec/cli/status_spec.rb
travis-1.8.5.travis.791.4 spec/cli/status_spec.rb
travis-1.8.5.travis.784.4 spec/cli/status_spec.rb
travis-1.8.5.travis.783.4 spec/cli/status_spec.rb