Skip to content

Commit b894c72

Browse files
committed
Verify soruce setup code.
1 parent cd48349 commit b894c72

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

lib/nanoc/github.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
require "nanoc"
22
require "octokit"
3-
3+
require "faraday/http_cache"
44

55
module Nanoc
66
module Github

test/source_test.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,10 @@ def test_use_access_token
121121
.to_return(status: 404)
122122
source_with_token.items
123123
end
124+
125+
def test_up
126+
assert source_with_posts.up
127+
end
124128
end
125129
end
126130
end

0 commit comments

Comments
 (0)