Sha256: 1fb6114b44c71ee4e0f725736f9020db3f01b44eeb3b660f85be3d353eb50b29
Contents?: true
Size: 1.21 KB
Versions: 1
Compression:
Stored size: 1.21 KB
Contents
# frozen_string_literal: true require 'spec_helper' describe Travis::CLI::History do before { ENV['TRAVIS_TOKEN'] = 'token' } example 'travis history' do run_cli('history').should be_success stdout.should be == "#6180 failed: master Associaton -> Association\n" end example 'travis history -d' do run_cli('history', '-d').should be_success stdout.should be =~ /2013-01-13 \d+:55:17 #6180 failed: master Associaton -> Association/ 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 example 'travis history -c' do run_cli('history', '-c').should be_success stdout.should be == "#6180 failed: master Steve Klabnik Associaton -> Association\n" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
travis-1.14.0 | spec/cli/history_spec.rb |