Sha256: 0f8390ddf250da40d53a78b02d8131ea6c9823b4547793d9d832b3617c4f5342

Contents?: true

Size: 782 Bytes

Versions: 69

Compression:

Stored size: 782 Bytes

Contents

require 'spec_helper'

describe Travis::CLI::History do
  example 'travis history' do
    run_cli('history').should be_success
    stdout.should be == "#6180 failed:   master Associaton -> Association\n"
  end

  example 'travis history -a 6180' do
    run_cli('history', '-a', '6180').should be_success
    stdout.should be == ''
  end

  example 'travis history -b master' do
    run_cli('history', '-b', 'master').should be_success
    stdout.should be == "#6180 failed:   master Associaton -> Association\n"
  end

  example 'travis history -b not-master' do
    run_cli('history', '-b', 'not-master').should be_success
    stdout.should be_empty
  end

  example 'travis history -p 5' do
    run_cli('history', '-p', '5').should be_success
    stdout.should be_empty
  end
end

Version data entries

69 entries across 69 versions & 1 rubygems

Version Path
travis-1.6.3.travis.381.4 spec/cli/history_spec.rb
travis-1.6.3.travis.379.4 spec/cli/history_spec.rb
travis-1.6.3.travis.377.4 spec/cli/history_spec.rb
travis-1.6.3.travis.376.4 spec/cli/history_spec.rb
travis-1.6.3.travis.374.4 spec/cli/history_spec.rb
travis-1.6.3.travis.373.4 spec/cli/history_spec.rb
travis-1.6.2.travis.371.4 spec/cli/history_spec.rb
travis-1.6.2 spec/cli/history_spec.rb
travis-1.6.2.travis.370.4 spec/cli/history_spec.rb
travis-1.6.2.travis.369.4 spec/cli/history_spec.rb
travis-1.6.2.travis.368.4 spec/cli/history_spec.rb
travis-1.6.2.travis.367.4 spec/cli/history_spec.rb
travis-1.6.2.travis.366.4 spec/cli/history_spec.rb
travis-1.6.2.travis.365.4 spec/cli/history_spec.rb
travis-1.6.2.travis.364.4 spec/cli/history_spec.rb
travis-1.6.1 spec/cli/history_spec.rb
travis-1.6.1.travis.363.4 spec/cli/history_spec.rb
travis-1.6.0 spec/cli/history_spec.rb
travis-1.5.9.travis.362.4 spec/cli/history_spec.rb
travis-1.5.9.travis.361.4 spec/cli/history_spec.rb