webapps.mason.backend.tests: change db filename to mason-test.db to

avoid interference from other tests
db4
Björn Lindqvist 2014-10-03 12:53:16 +02:00 committed by John Benediktsson
parent 239deaeaaa
commit 12862dd313
1 changed files with 2 additions and 2 deletions

View File

@ -2,12 +2,12 @@ USING: continuations db db.sqlite io.directories io.files.temp
webapps.mason.backend tools.test ;
IN: webapps.mason.backend.tests
[ "test.db" temp-file delete-file ] ignore-errors
[ "mason-test.db" temp-file delete-file ] ignore-errors
[ 0 1 2 ] [
! Do it in a with-transaction to simulate semantics of
! with-mason-db
"test.db" temp-file <sqlite-db> [
"mason-test.db" temp-file <sqlite-db> [
[
init-mason-db