Sha256: 880c0f89be4eaf4d1f00d52d922244c9deb6e47980527fd984bf3c1c3e6ab991
Contents?: true
Size: 692 Bytes
Versions: 20
Compression:
Stored size: 692 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: https://api.travis-ci.org/\n" end end
Version data entries
20 entries across 20 versions & 1 rubygems