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.9.travis.875.3 spec/cli/restart_spec.rb
travis-1.8.9.travis.874.3 spec/cli/restart_spec.rb
travis-1.8.9.travis.867.4 spec/cli/restart_spec.rb
travis-1.8.9.travis.853.4 spec/cli/restart_spec.rb
travis-1.8.9.travis.844.4 spec/cli/restart_spec.rb
travis-1.8.9.travis.837.4 spec/cli/restart_spec.rb
travis-1.8.8 spec/cli/restart_spec.rb
travis-1.8.9.travis.826.4 spec/cli/restart_spec.rb
travis-1.8.7.travis.823.4 spec/cli/restart_spec.rb
travis-1.8.7.travis.818.4 spec/cli/restart_spec.rb
travis-1.8.7.travis.812.4 spec/cli/restart_spec.rb
travis-1.8.6 spec/cli/restart_spec.rb
travis-1.8.7.travis.809.4 spec/cli/restart_spec.rb
travis-1.8.7.travis.808.4 spec/cli/restart_spec.rb
travis-1.8.6.travis.807.4 spec/cli/restart_spec.rb
travis-1.8.5 spec/cli/restart_spec.rb
travis-1.8.6.travis.796.4 spec/cli/restart_spec.rb
travis-1.8.5.travis.793.4 spec/cli/restart_spec.rb
travis-1.8.5.travis.791.4 spec/cli/restart_spec.rb
travis-1.8.5.travis.784.4 spec/cli/restart_spec.rb