Sha256: c5691b61b87025ccd6d4d8af5e14633f5ddb43549f2c99e24b6b00675da35d87

Contents?: true

Size: 430 Bytes

Versions: 39

Compression:

Stored size: 430 Bytes

Contents

require 'spec_helper'

describe Travis::CLI::Restart do
  example 'travis restart' do
    run_cli('restart', '-t', 'token').should be_success
    $params['id'].should be == "4125095"
    $params['entity'].should be == "builds"
  end

  example 'travis restart 6180.1' do
    run_cli('restart', '6180.1', '-t', 'token').should be_success
    $params['entity'].should be == "jobs"
    $params['id'].should be == "4125096"
  end
end

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
travis-1.11.1 spec/cli/restart_spec.rb
travis-1.11.0 spec/cli/restart_spec.rb
travis-1.10.1.travis.1341.9 spec/cli/restart_spec.rb
travis-1.10.1.travis.1321.9 spec/cli/restart_spec.rb
travis-1.10.1.travis.1312.9 spec/cli/restart_spec.rb
travis-1.10.1.travis.1311.9 spec/cli/restart_spec.rb
travis-1.10.1.travis.1305.9 spec/cli/restart_spec.rb
travis-1.10.0 spec/cli/restart_spec.rb
travis-1.9.2.travis.1304.9 spec/cli/restart_spec.rb
travis-1.9.2.travis.1303.9 spec/cli/restart_spec.rb
travis-1.10.0.pre.rc4 spec/cli/restart_spec.rb
travis-1.10.0.pre.rc3 spec/cli/restart_spec.rb
travis-1.10.0.pre.rc2 spec/cli/restart_spec.rb
travis-1.9.2.travis.1288.9 spec/cli/restart_spec.rb
travis-1.9.2.travis.1285.9 spec/cli/restart_spec.rb
travis-1.9.2.travis.1279.9 spec/cli/restart_spec.rb
travis-1.10.0.pre.rc1 spec/cli/restart_spec.rb
travis-1.9.2.travis.1254.9 spec/cli/restart_spec.rb
travis-1.9.2.travis.1236.9 spec/cli/restart_spec.rb
travis-1.9.2.travis.1224.9 spec/cli/restart_spec.rb