testdouble / suture

🏥 A Ruby gem that helps you refactor your legacy code
MIT License
1.41k stars 29 forks source link

API to drop Suture's database #31

Closed searls closed 8 years ago

searls commented 8 years ago

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

searls commented 8 years ago

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