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.5.travis.783.4 spec/cli/restart_spec.rb
travis-1.8.5.travis.781.4 spec/cli/restart_spec.rb
travis-1.8.4 spec/cli/restart_spec.rb
travis-1.8.5.travis.779.4 spec/cli/restart_spec.rb
travis-1.8.3 spec/cli/restart_spec.rb
travis-1.8.4.travis.777.4 spec/cli/restart_spec.rb
travis-1.8.4.travis.775.4 spec/cli/restart_spec.rb
travis-1.8.3.travis.773.4 spec/cli/restart_spec.rb
travis-async-listener-1.8.3 spec/cli/restart_spec.rb
travis-1.8.3.travis.745.4 spec/cli/restart_spec.rb
travis-1.8.3.travis.726.4.pre.debug spec/cli/restart_spec.rb
travis-1.8.3.travis.724.4 spec/cli/restart_spec.rb
travis-1.8.2 spec/cli/restart_spec.rb
travis-1.8.2.travis.722.4 spec/cli/restart_spec.rb
travis-1.8.2.travis.719.4 spec/cli/restart_spec.rb
travis-1.8.1 spec/cli/restart_spec.rb
travis-1.8.1.travis.717.4 spec/cli/restart_spec.rb
travis-1.8.1.travis.713.4 spec/cli/restart_spec.rb
travis-1.8.1.travis.705.5 spec/cli/restart_spec.rb
travis-1.8.1.travis.704.5 spec/cli/restart_spec.rb