Sha256: ed3dddae13a09423b842b09325900c355c030e8129400465d71180bb11f11243
Contents?: true
Size: 707 Bytes
Versions: 2
Compression:
Stored size: 707 Bytes
Contents
require 'spec_helper' describe Travis::CLI::Endpoint do example "travis endpoint" do run_cli('endpoint').should be_success stdout.should be == "https://api.travis-ci.org/\n" end example "travis endpoint --pro" do run_cli('endpoint', '--pro').should be_success stdout.should be == "https://api.travis-ci.com/\n" end example "travis endpoint -e http://localhost:3000/" do run_cli('endpoint', '-e', 'http://localhost:3000/').should be_success stdout.should be == "http://localhost:3000/\n" end example "travis endpoint -i" do run_cli('endpoint', '-i').should be_success stdout.should be == "API endpoint: \e[1m\e[4mhttps://api.travis-ci.org/\e[0m\n" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
travis-1.0.1 | spec/cli/endpoint_spec.rb |
travis-1.0.0 | spec/cli/endpoint_spec.rb |