Sha256: a01353f4a3f76c09ac7106becc545445bf089b164ddb547b34618e20b4539cf2

Contents?: true

Size: 659 Bytes

Versions: 224

Compression:

Stored size: 659 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').should be_success
    stdout.should be == "build #6180 failed\n"
  end
end

Version data entries

224 entries across 224 versions & 1 rubygems

Version Path
travis-1.5.6.travis.336.4 spec/cli/status_spec.rb
travis-1.5.6.travis.333.4 spec/cli/status_spec.rb
travis-1.5.6.travis.332.4 spec/cli/status_spec.rb
travis-1.5.6.travis.330.4 spec/cli/status_spec.rb
travis-1.5.6.travis.329.4 spec/cli/status_spec.rb
travis-1.5.6.travis.326.4 spec/cli/status_spec.rb
travis-1.5.6.travis.324.4 spec/cli/status_spec.rb
travis-1.5.6.travis.323.4 spec/cli/status_spec.rb
travis-1.5.6.travis.320.4 spec/cli/status_spec.rb
travis-1.5.6.travis.319.4 spec/cli/status_spec.rb
travis-1.5.6.travis.317.4 spec/cli/status_spec.rb
travis-1.5.6.travis.315.4 spec/cli/status_spec.rb
travis-1.5.6.travis.314.4 spec/cli/status_spec.rb
travis-1.5.6.travis.312.4 spec/cli/status_spec.rb
travis-1.5.6.travis.307.4 spec/cli/status_spec.rb
travis-1.5.6.travis.306.4 spec/cli/status_spec.rb
travis-1.5.6.travis.304.4 spec/cli/status_spec.rb
travis-1.5.6.travis.303.4 spec/cli/status_spec.rb
travis-1.5.6.travis.301.4 spec/cli/status_spec.rb
travis-1.5.6.travis.299.4 spec/cli/status_spec.rb