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.2.travis.370.4 spec/cli/restart_spec.rb
travis-1.6.2.travis.369.4 spec/cli/restart_spec.rb
travis-1.6.2.travis.368.4 spec/cli/restart_spec.rb
travis-1.6.2.travis.367.4 spec/cli/restart_spec.rb
travis-1.6.2.travis.366.4 spec/cli/restart_spec.rb
travis-1.6.2.travis.365.4 spec/cli/restart_spec.rb
travis-1.6.2.travis.364.4 spec/cli/restart_spec.rb
travis-1.6.1 spec/cli/restart_spec.rb
travis-1.6.1.travis.363.4 spec/cli/restart_spec.rb
travis-1.6.0 spec/cli/restart_spec.rb
travis-1.5.9.travis.362.4 spec/cli/restart_spec.rb
travis-1.5.9.travis.361.4 spec/cli/restart_spec.rb
travis-1.5.9.travis.360.4 spec/cli/restart_spec.rb
travis-1.5.9.travis.358.4 spec/cli/restart_spec.rb
travis-1.5.8 spec/cli/restart_spec.rb
travis-1.5.8.travis.356.4 spec/cli/restart_spec.rb
travis-1.5.7 spec/cli/restart_spec.rb
travis-1.5.7.travis.345.4 spec/cli/restart_spec.rb
travis-1.5.7.travis.341.4 spec/cli/restart_spec.rb
travis-1.5.7.travis.338.4 spec/cli/restart_spec.rb