Sha256: f07141c9f7a9cd15568ef50e7b8aaa3d2a9e43cc0be53bde603a744f4f7ef9aa

Contents?: true

Size: 424 Bytes

Versions: 2

Compression:

Stored size: 424 Bytes

Contents

require 'spec_helper'

describe Travis::CLI::Open 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

2 entries across 2 versions & 1 rubygems

Version Path
travis-1.5.1 spec/cli/restart_spec.rb
travis-1.5.0 spec/cli/restart_spec.rb