import org.junit.rules.ExternalResource;
import org.sql2o.*;

public class DatabaseRule extends ExternalResource {

  protected void before() {
    DB.sql2o = new Sql2o("jdbc:postgresql://localhost:5432/kitchen_test", null, null);

  }

  protected void after() {

  }
}

@@ -257,15 +257,185 @@
 ter() %7B%0A
+    try(Connection con = DB.sql2o.open()) %7B%0A      con.createQuery(%22TRUNCATE patrons, orders, dishes, dishes_ingredients, ingredients, inventories%22).executeUpdate();%0A    %7D
 %0A  %7D%0A%7D%0A

Update DatabaseRule to delete all content in test database after each test