summary refs log tree commit diff stats
path: root/src/posts.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/posts.rs')
-rw-r--r--src/posts.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/posts.rs b/src/posts.rs
index 30738f0..e019454 100644
--- a/src/posts.rs
+++ b/src/posts.rs
@@ -207,7 +207,7 @@ mod tests {
 
     #[test]
     fn post_new() {
-        let db = db::Conn::init("/tmp/clinte.db");
+        let db = db::Conn::init(":memory:");
         let db = db::Conn { conn: db };
         let mut stmt = db
             .conn