Sha256: 7509d6f27c0412722f18a062d86917c8b0758eec2e42516e1e2ba16232578e83
Contents?: true
Size: 483 Bytes
Versions: 69
Compression:
Stored size: 483 Bytes
Contents
require 'spec_helper' describe Travis::CLI::Login do example "travis login", :unless => Travis::Tools::System.windows? do run_cli('login') { |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
69 entries across 69 versions & 1 rubygems