test/ac_africompta.rb in africompta-1.9.11 vs test/ac_africompta.rb in africompta-1.9.13.pre.10
- old
+ new
@@ -8,9 +8,13 @@
Entities.delete_all_data
dputs(2) { 'Resetting SQLite' }
SQLite.dbs_close_all
dputs(2) { 'Putting testGestion' }
+ begin
+ Dir.mkdir('data')
+ rescue Errno::EEXIST
+ end
FileUtils.cp('db.testGestion', 'data/compta.db')
SQLite.dbs_open_load_migrate
dputs(3) { 'And searching for some accounts' }
@root = Accounts.match_by_name('Root')