mirror of
https://github.com/zhigang1992/probot.github.io.git
synced 2026-04-24 04:15:48 +08:00
Updates to clean up tests
Ignore links to localhost in tests This org doesn't exist Removing unmaintained app (returning 503) Use `/ping` for tests since there is an option to disable stats
This commit is contained in:
@@ -53,7 +53,7 @@ describe "lint test" do
|
||||
end
|
||||
|
||||
it "host returns 200" do
|
||||
uri = URI(data["host"] + '/probot/stats')
|
||||
uri = URI(data["host"] + '/ping')
|
||||
res = Net::HTTP.get_response(uri)
|
||||
assert_equal "200", res.code, "Expected 200 response from #{uri}"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user