mirror of
https://github.com/getzola/zola
synced 2024-12-13 22:02:29 +00:00
Test config.title in integration tests
This commit is contained in:
parent
7ce4f75d09
commit
22dcfb963e
2 changed files with 3 additions and 1 deletions
|
@ -111,6 +111,8 @@ fn can_build_site_without_live_reload() {
|
||||||
assert!(file_exists!(public, "sitemap.xml"));
|
assert!(file_exists!(public, "sitemap.xml"));
|
||||||
assert!(file_exists!(public, "robots.txt"));
|
assert!(file_exists!(public, "robots.txt"));
|
||||||
assert!(file_exists!(public, "a-fixed-url/index.html"));
|
assert!(file_exists!(public, "a-fixed-url/index.html"));
|
||||||
|
// the config.title is there
|
||||||
|
assert!(file_contains!(public, "index.html", "My Integration Testing site"));
|
||||||
|
|
||||||
assert!(file_exists!(public, "posts/python/index.html"));
|
assert!(file_exists!(public, "posts/python/index.html"));
|
||||||
// Shortcodes work
|
// Shortcodes work
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
title = "My site"
|
title = "My Integration Testing site"
|
||||||
base_url = "https://replace-this-with-your-url.com"
|
base_url = "https://replace-this-with-your-url.com"
|
||||||
compile_sass = true
|
compile_sass = true
|
||||||
generate_feed = true
|
generate_feed = true
|
||||||
|
|
Loading…
Reference in a new issue