From 19b43419570eea290621875c9857a269f013d6ab Mon Sep 17 00:00:00 2001 From: Vincent Prouillet Date: Mon, 22 Oct 2018 22:34:38 +0200 Subject: [PATCH] Fix test --- CHANGELOG.md | 1 + components/site/tests/site.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7741f6eb..4a6dd863 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -34,6 +34,7 @@ sections up to the index to be used with the `get_section` Tera function - Add `relative_path` to pages and sections in templates - Do not have a trailing slash for the RSS permalinks - `serve` will now try to find other ports than 1111 rather than panicking +- Ensure content directory exists before rendering aliases ## 0.4.2 (2018-09-03) diff --git a/components/site/tests/site.rs b/components/site/tests/site.rs index afbc245c..215715c8 100644 --- a/components/site/tests/site.rs +++ b/components/site/tests/site.rs @@ -202,7 +202,7 @@ fn can_build_site_with_live_reload() { let tmp_dir = tempdir().expect("create temp dir"); let public = &tmp_dir.path().join("public"); site.set_output_path(&public); - site.enable_live_reload(); + site.enable_live_reload(1000); site.build().unwrap(); assert!(Path::new(&public).exists());