Sha256: 6728f9d30d53b5d4a0718f892419a386b26d0d112753b4d729fef07c8a6f2a7b
Contents?: true
Size: 629 Bytes
Versions: 6
Compression:
Stored size: 629 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe Travis::CLI::Token do example 'travis token (access token set)' do run_cli('token', '-t', 'super-secret').should be_success stdout.should stderr.should be_empty end example 'travis token -i (access token set)' do run_cli('token', '-it', 'super-secret').should be_success stdout.should stderr.should be_empty end example 'travis token (no access token set)' do run_cli('token').should_not be_success stdout.should be_empty stderr.should == "not logged in, please run #{File.basename($PROGRAM_NAME)} login\n" end end
Version data entries
6 entries across 6 versions & 1 rubygems