Sha256: 372c4451828a089664f8faa2efce269edf48da6249d2cef7fe198c982c1bd513
Contents?: true
Size: 397 Bytes
Versions: 2
Compression:
Stored size: 397 Bytes
Contents
require 'spec_helper' describe Travis::CLI::Login do example "travis login" 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)" 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
travis-1.0.1 | spec/cli/login_spec.rb |
travis-1.0.0 | spec/cli/login_spec.rb |