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.4.travis.405.4 spec/cli/restart_spec.rb
travis-1.6.4.travis.395.4 spec/cli/restart_spec.rb
travis-1.6.3 spec/cli/restart_spec.rb
travis-1.6.3.travis.394.4 spec/cli/restart_spec.rb
travis-1.6.3.travis.392.4 spec/cli/restart_spec.rb
travis-1.6.3.travis.390.4 spec/cli/restart_spec.rb
travis-1.6.3.travis.389.4 spec/cli/restart_spec.rb
travis-1.6.3.travis.388.4 spec/cli/restart_spec.rb
travis-1.6.3.travis.387.4 spec/cli/restart_spec.rb
travis-1.6.3.travis.386.4 spec/cli/restart_spec.rb
travis-1.6.3.travis.385.4 spec/cli/restart_spec.rb
travis-1.6.3.travis.384.4 spec/cli/restart_spec.rb
travis-1.6.3.travis.381.4 spec/cli/restart_spec.rb
travis-1.6.3.travis.379.4 spec/cli/restart_spec.rb
travis-1.6.3.travis.377.4 spec/cli/restart_spec.rb
travis-1.6.3.travis.376.4 spec/cli/restart_spec.rb
travis-1.6.3.travis.374.4 spec/cli/restart_spec.rb
travis-1.6.3.travis.373.4 spec/cli/restart_spec.rb
travis-1.6.2.travis.371.4 spec/cli/restart_spec.rb
travis-1.6.2 spec/cli/restart_spec.rb