testdouble / suture

🏥 A Ruby gem that helps you refactor your legacy code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

API to drop Suture's database

searls opened this issue · comments

Suture.drop_database or recreate_database or something may be appropriate, given that the only way to do it currently is to know where the file is and delete the file

I decided against this because it's identical to just deleting the sqlite3 file and if you needed to delete the db it'd be the safer thing to do anyway with the schema table and so forth