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.10.travis.944.11 spec/cli/restart_spec.rb
travis-1.8.10.travis.943.11 spec/cli/restart_spec.rb
travis-1.8.10.travis.942.11 spec/cli/restart_spec.rb
travis-1.8.10.travis.941.11 spec/cli/restart_spec.rb
travis-1.8.10.travis.940.11 spec/cli/restart_spec.rb
travis-1.8.10.travis.935.11 spec/cli/restart_spec.rb
travis-1.8.10.travis.933.11 spec/cli/restart_spec.rb
travis-1.8.10.travis.931.11 spec/cli/restart_spec.rb
travis-1.8.10.travis.930.11 spec/cli/restart_spec.rb
travis-1.8.10.travis.929.11 spec/cli/restart_spec.rb
travis-1.8.10.travis.927.11 spec/cli/restart_spec.rb
travis-1.8.10.travis.925.11 spec/cli/restart_spec.rb
travis-1.8.10.travis.924.11 spec/cli/restart_spec.rb
travis-1.8.10.travis.923.11 spec/cli/restart_spec.rb
travis-1.8.10.travis.922.11 spec/cli/restart_spec.rb
travis-1.8.10.travis.921.11 spec/cli/restart_spec.rb
travis-1.8.9 spec/cli/restart_spec.rb
travis-1.8.9.travis.919.11 spec/cli/restart_spec.rb
travis-1.8.9.travis.918.11 spec/cli/restart_spec.rb
travis-1.8.9.travis.916.11 spec/cli/restart_spec.rb