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.1.travis.699.5 spec/cli/restart_spec.rb
travis-1.8.1.travis.697.5 spec/cli/restart_spec.rb
travis-1.8.1.travis.696.5 spec/cli/restart_spec.rb
travis-1.8.1.travis.693.5 spec/cli/restart_spec.rb
travis-1.8.1.travis.692.5 spec/cli/restart_spec.rb
travis-1.8.1.travis.689.5 spec/cli/restart_spec.rb
travis-1.8.0 spec/cli/restart_spec.rb
travis-1.7.8.travis.688.5 spec/cli/restart_spec.rb
travis-1.7.8.travis.687.5 spec/cli/restart_spec.rb
travis-1.7.8.travis.684.5 spec/cli/restart_spec.rb
travis-1.7.7 spec/cli/restart_spec.rb
travis-1.7.7.travis.683.5 spec/cli/restart_spec.rb
travis-1.7.7.travis.681.5 spec/cli/restart_spec.rb
travis-1.7.7.travis.678.5 spec/cli/restart_spec.rb
travis-1.7.6.travis.677.5 spec/cli/restart_spec.rb
travis-1.7.6 spec/cli/restart_spec.rb
travis-1.7.6.travis.676.5 spec/cli/restart_spec.rb
travis-1.7.6.travis.675.5 spec/cli/restart_spec.rb
travis-1.7.6.travis.673.5 spec/cli/restart_spec.rb
travis-1.7.6.travis.673.6 spec/cli/restart_spec.rb