Sha256: 6ebaf77f71c36e5fef11debb7dbe78ac6701dfc1cab5e1e7338b0e7e1c6673a0
Contents?: true
Size: 511 Bytes
Versions: 315
Compression:
Stored size: 511 Bytes
Contents
require 'spec_helper' describe Travis::CLI::Login do example "travis login", :unless => Travis::Tools::System.windows? do run_cli('login', '-E', '--skip-token-check') { |i| i.puts('rkh', 'password') }.should be_success run_cli('whoami').out.should be == "rkh\n" end example "travis login (with bad credentials)", :unless => Travis::Tools::System.windows? do run_cli('login') { |i| i.puts('rkh', 'wrong password') }.should_not be_success run_cli('whoami').should_not be_success end end
Version data entries
315 entries across 315 versions & 3 rubygems