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.8.14.travis.1183.9 spec/cli/restart_spec.rb
travis-1.8.14.travis.1178.9 spec/cli/restart_spec.rb
travis-1.8.14.travis.1175.9 spec/cli/restart_spec.rb
travis-1.8.14.travis.1172.9 spec/cli/restart_spec.rb
travis-1.8.14.travis.1164.9 spec/cli/restart_spec.rb
travis-1.8.14.travis.1163.9 spec/cli/restart_spec.rb
travis-1.8.14.travis.1162.9 spec/cli/restart_spec.rb
travis-1.8.14.travis.1160.9 spec/cli/restart_spec.rb
travis-1.8.13 spec/cli/restart_spec.rb
travis-1.8.14.travis.1156.9 spec/cli/restart_spec.rb
travis-1.8.14.travis.1155.9 spec/cli/restart_spec.rb
travis-1.8.13.travis.1152.9 spec/cli/restart_spec.rb
travis-1.8.13.travis.1148.9 spec/cli/restart_spec.rb
travis-1.8.12 spec/cli/restart_spec.rb
travis-1.8.13.travis.1141.9 spec/cli/restart_spec.rb
travis-1.8.12.travis.1136.9 spec/cli/restart_spec.rb
travis-1.8.12.travis.1135.9 spec/cli/restart_spec.rb
travis-1.8.12.travis.1125.9 spec/cli/restart_spec.rb
travis-1.8.12.pre.rc1 spec/cli/restart_spec.rb
travis-1.8.12.travis.1116.9 spec/cli/restart_spec.rb