aboutsummaryrefslogtreecommitdiff
path: root/tests/test_blog.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_blog.rs')
-rw-r--r--tests/test_blog.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_blog.rs b/tests/test_blog.rs
index b72f800..6cd3249 100644
--- a/tests/test_blog.rs
+++ b/tests/test_blog.rs
@@ -1,4 +1,5 @@
use macroblog::blog::*;
+use macroblog::assets::*;
use chrono::NaiveDate;
@@ -17,7 +18,7 @@ fn test_create_blog_entry() {
#[test]
fn test_read_assets() {
// This test meant to test if all files are parsed correctly
- let assets = BlogEntry::read_assets();
+ let assets = read_assets();
assert!(assets.iter().count() > 1)
}