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.5.9.travis.360.4 spec/cli/history_spec.rb
travis-1.5.9.travis.358.4 spec/cli/history_spec.rb
travis-1.5.8 spec/cli/history_spec.rb
travis-1.5.8.travis.356.4 spec/cli/history_spec.rb
travis-1.5.7 spec/cli/history_spec.rb
travis-1.5.7.travis.345.4 spec/cli/history_spec.rb
travis-1.5.7.travis.341.4 spec/cli/history_spec.rb
travis-1.5.7.travis.338.4 spec/cli/history_spec.rb
travis-1.5.6 spec/cli/history_spec.rb
travis-1.5.6.travis.337.4 spec/cli/history_spec.rb
travis-1.5.6.travis.336.4 spec/cli/history_spec.rb
travis-1.5.6.travis.333.4 spec/cli/history_spec.rb
travis-1.5.6.travis.332.4 spec/cli/history_spec.rb
travis-1.5.6.travis.330.4 spec/cli/history_spec.rb
travis-1.5.6.travis.329.4 spec/cli/history_spec.rb
travis-1.5.6.travis.326.4 spec/cli/history_spec.rb
travis-1.5.6.travis.324.4 spec/cli/history_spec.rb
travis-1.5.6.travis.323.4 spec/cli/history_spec.rb
travis-1.5.6.travis.320.4 spec/cli/history_spec.rb
travis-1.5.6.travis.319.4 spec/cli/history_spec.rb