mirror of
https://github.com/jekyll/jekyll.git
synced 2026-04-06 03:01:43 -04:00
Add Utils::Internet.connected? to determine whether host machine has internet connection. (#5870)
Merge pull request 5870
This commit is contained in:
@@ -403,4 +403,10 @@ class TestUtils < JekyllUnitTest
|
||||
assert_equal "bom|another", merged[:encoding]
|
||||
end
|
||||
end
|
||||
|
||||
context "Utils::Internet.connected?" do
|
||||
should "return true if there's internet" do
|
||||
assert Utils::Internet.connected?
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user