spec/cli/endpoint_spec.rb in travis-1.8.9.travis.875.3 vs spec/cli/endpoint_spec.rb in travis-1.8.9.travis.916.11
- old
+ new
@@ -9,9 +9,14 @@
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 --com" do
+ run_cli('endpoint', '--com').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