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.7.travis.443.6 spec/cli/restart_spec.rb
travis-1.6.7.travis.442.6 spec/cli/restart_spec.rb
travis-1.6.7.travis.441.6 spec/cli/restart_spec.rb
travis-1.6.7.travis.434.6 spec/cli/restart_spec.rb
travis-1.6.7.travis.431.6 spec/cli/restart_spec.rb
travis-1.6.7.travis.428.9 spec/cli/restart_spec.rb
travis-1.6.7.travis.427.9 spec/cli/restart_spec.rb
travis-1.6.7.travis.426.8 spec/cli/restart_spec.rb
travis-1.6.7.travis.425.8 spec/cli/restart_spec.rb
travis-1.6.7.travis.422.4 spec/cli/restart_spec.rb
travis-1.6.7.travis.420.4 spec/cli/restart_spec.rb
travis-1.6.6 spec/cli/restart_spec.rb
travis-1.6.6.travis.419.4 spec/cli/restart_spec.rb
travis-1.6.6.travis.417.4 spec/cli/restart_spec.rb
travis-1.6.5 spec/cli/restart_spec.rb
travis-1.6.4.travis.414.4 spec/cli/restart_spec.rb
travis-1.6.4.travis.413.4 spec/cli/restart_spec.rb
travis-1.6.4.travis.410.4 spec/cli/restart_spec.rb
travis-1.6.4.travis.411.4 spec/cli/restart_spec.rb
travis-1.6.4.travis.406.4 spec/cli/restart_spec.rb