diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/db/mod.rs | 5 | ||||
-rw-r--r-- | tests/db_integration.rs | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/tests/db/mod.rs b/tests/db/mod.rs new file mode 100644 index 0000000..b5aed75 --- /dev/null +++ b/tests/db/mod.rs | |||
@@ -0,0 +1,5 @@ | |||
1 | use std::fs::File; | ||
2 | |||
3 | pub fn setup() { | ||
4 | File::create("./setuptests").unwrap(); | ||
5 | } | ||
diff --git a/tests/db_integration.rs b/tests/db_integration.rs new file mode 100644 index 0000000..82cfe0f --- /dev/null +++ b/tests/db_integration.rs | |||
@@ -0,0 +1,7 @@ | |||
1 | mod db; | ||
2 | |||
3 | #[test] | ||
4 | fn test_add() { | ||
5 | db::setup(); | ||
6 | assert!(true); | ||
7 | } | ||