aboutsummaryrefslogtreecommitdiff
path: root/spec/setup/clean_database.cr
diff options
context:
space:
mode:
Diffstat (limited to 'spec/setup/clean_database.cr')
-rw-r--r--spec/setup/clean_database.cr3
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/setup/clean_database.cr b/spec/setup/clean_database.cr
new file mode 100644
index 0000000..a1bc631
--- /dev/null
+++ b/spec/setup/clean_database.cr
@@ -0,0 +1,3 @@
+Spec.before_each do
+ AppDatabase.truncate
+end