Fix tests to not clutter Factor directory

db4
Slava Pestov 2009-04-13 15:21:16 -05:00
parent 3b1f3c08a4
commit cedbad0772
2 changed files with 6 additions and 2 deletions

View File

@ -393,6 +393,10 @@ SYMBOL: a
[ "OK" ] [ "data" "http://localhost/a" add-port http-post nip ] unit-test
! Check that download throws errors (reported by Chris Double)
[ "http://localhost/tweet_my_twat" add-port download ] must-fail
[
"resource:temp" [
"http://localhost/tweet_my_twat" add-port download
] with-directory
] must-fail
[ ] [ "http://localhost/quit" add-port http-get 2drop ] unit-test

View File

@ -69,7 +69,7 @@ IN: webapps.site-watcher
8431 >>secure ;
: site-watcher-db ( -- db )
"resource:test.db" <sqlite-db> ;
"test.db" temp-file <sqlite-db> ;
<site-watcher-app>
<login-config>