Sha256: 52f4c9fac5f0e6da2ba043eb4debf37b367f58d921ec4157a188d656c0cc2b77

Contents?: true

Size: 427 Bytes

Versions: 348

Compression:

Stored size: 427 Bytes

Contents

require 'spec_helper'

describe Travis::CLI::Restart do
  example 'travis restart' do
    run_cli('restart', '-t', 'token').should be_success
    $params['build_id'].should be == "4125095"
    $params['job_id'].should be_nil
  end

  example 'travis restart 6180.1' do
    run_cli('restart', '6180.1', '-t', 'token').should be_success
    $params['build_id'].should be_nil
    $params['job_id'].should be == "4125096"
  end
end

Version data entries

348 entries across 348 versions & 3 rubygems

Version Path
travis-1.6.9.travis.483.6 spec/cli/restart_spec.rb
travis-1.6.9.travis.479.6 spec/cli/restart_spec.rb
travis-1.6.9.travis.463.6 spec/cli/restart_spec.rb
travis-1.6.9.travis.462.6 spec/cli/restart_spec.rb
travis-1.6.9.travis.461.6 spec/cli/restart_spec.rb
travis-1.6.9.travis.458.6 spec/cli/restart_spec.rb
travis-1.6.8 spec/cli/restart_spec.rb
travis-1.6.8.travis.457.6 spec/cli/restart_spec.rb
travis-1.6.8.travis.456.6 spec/cli/restart_spec.rb
travis-1.6.8.travis.455.6 spec/cli/restart_spec.rb
travis-1.6.8.travis.454.6 spec/cli/restart_spec.rb
travis-1.6.8.travis.453.6 spec/cli/restart_spec.rb
travis-1.6.8.travis.452.6 spec/cli/restart_spec.rb
travis-1.6.8.travis.451.6 spec/cli/restart_spec.rb
travis-1.6.8.travis.450.6 spec/cli/restart_spec.rb
travis-1.6.8.travis.449.6 spec/cli/restart_spec.rb
travis-1.6.8.travis.447.6 spec/cli/restart_spec.rb
travis-1.6.7.travis.446.6 spec/cli/restart_spec.rb
travis-1.6.7 spec/cli/restart_spec.rb
travis-1.6.7.travis.445.6 spec/cli/restart_spec.rb