Fix test
This commit is contained in:
parent
2e84409c51
commit
19b4341957
|
@ -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
|
- Add `relative_path` to pages and sections in templates
|
||||||
- Do not have a trailing slash for the RSS permalinks
|
- Do not have a trailing slash for the RSS permalinks
|
||||||
- `serve` will now try to find other ports than 1111 rather than panicking
|
- `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)
|
## 0.4.2 (2018-09-03)
|
||||||
|
|
||||||
|
|
|
@ -202,7 +202,7 @@ fn can_build_site_with_live_reload() {
|
||||||
let tmp_dir = tempdir().expect("create temp dir");
|
let tmp_dir = tempdir().expect("create temp dir");
|
||||||
let public = &tmp_dir.path().join("public");
|
let public = &tmp_dir.path().join("public");
|
||||||
site.set_output_path(&public);
|
site.set_output_path(&public);
|
||||||
site.enable_live_reload();
|
site.enable_live_reload(1000);
|
||||||
site.build().unwrap();
|
site.build().unwrap();
|
||||||
|
|
||||||
assert!(Path::new(&public).exists());
|
assert!(Path::new(&public).exists());
|
||||||
|
|
Loading…
Reference in a new issue