10000 Start to add test for reset reloading · jekyll/github-metadata@20bbc52 · GitHub
[go: up one dir, main page]

Skip to content

Commit 20bbc52

Browse files
committed
Start to add test for reset reloading
1 parent 2c265a5 commit 20bbc52

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

spec/site_github_munger_spec.rb

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,4 +231,14 @@
231231
end.to raise_error(Jekyll::GitHubMetadata::Client::BadCredentialsError)
232232
end
233233
end
234+
235+
context "render the fixture site" do
236+
it "process, check API calls, process again" do
237+
config = Jekyll::Configuration.from({"source" => source, "destination" => dest})
238+
site = Jekyll::Site.new(config)
239+
site.process # Check that API calls happen
240+
241+
site.process # Check that no API calls happen
242+
end
243+
end
234244
end

0 commit comments

Comments
 (0)
0