spec/cli/status_spec.rb in travis-1.13.3 vs spec/cli/status_spec.rb in travis-1.14.0
- old
+ new
@@ -1,9 +1,12 @@
# frozen_string_literal: true
require 'spec_helper'
describe Travis::CLI::Status do
+
+ before { ENV['TRAVIS_TOKEN'] = 'token' }
+
example 'travis status' do
run_cli('status').should be_success
stdout.should be == "failed\n"
end