spec/cli/endpoint_spec.rb in travis-1.5.3 vs spec/cli/endpoint_spec.rb in travis-1.5.4

- old
+ new

@@ -20,9 +20,14 @@ ENV['TRAVIS_ENDPOINT'] = "http://localhost:3000/" run_cli('endpoint').should be_success stdout.should be == "http://localhost:3000/\n" end + example "travis endpoint --github" do + run_cli('endpoint', '--github').should be_success + stdout.should be == "https://api.github.com\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