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.11.travis.1011.9 spec/cli/restart_spec.rb
travis-1.8.11.travis.1010.9 spec/cli/restart_spec.rb
travis-1.8.11.travis.1009.9 spec/cli/restart_spec.rb
travis-1.8.11.travis.1008.9 spec/cli/restart_spec.rb
travis-1.8.11.travis.1007.9 spec/cli/restart_spec.rb
travis-1.8.11.travis.1004.9 spec/cli/restart_spec.rb
travis-1.8.11.travis.1003.9 spec/cli/restart_spec.rb
travis-1.8.11.travis.1002.9 spec/cli/restart_spec.rb
travis-1.8.11.travis.1001.9 spec/cli/restart_spec.rb
travis-1.8.11.travis.1000.9 spec/cli/restart_spec.rb
travis-1.8.11.travis.998.9 spec/cli/restart_spec.rb
travis-1.8.10.travis.997.9 spec/cli/restart_spec.rb
travis-1.8.10 spec/cli/restart_spec.rb
travis-1.8.10.travis.994.9 spec/cli/restart_spec.rb
travis-1.8.10.travis.953.11 spec/cli/restart_spec.rb
travis-akerl-1.8.9.1 spec/cli/restart_spec.rb
travis-akerl-1.8.9 spec/cli/restart_spec.rb
travis-1.8.10.travis.950.11 spec/cli/restart_spec.rb
travis-1.8.10.travis.948.11 spec/cli/restart_spec.rb
travis-1.8.10.travis.946.11 spec/cli/restart_spec.rb