use the COUCHHOST for the test db

Signed-off-by: Marcos Tapajós <tapajos@gmail.com>
This commit is contained in:
Aidan Feldman 2010-09-29 18:11:59 -04:00 committed by Marcos Tapajós
parent 958616025d
commit 1d0df87e34

View file

@ -10,7 +10,7 @@ unless defined?(FIXTURE_PATH)
COUCHHOST = "http://127.0.0.1:5984"
TESTDB = 'couchrest-model-test'
TEST_SERVER = CouchRest.new
TEST_SERVER = CouchRest.new COUCHHOST
TEST_SERVER.default_database = TESTDB
DB = TEST_SERVER.database(TESTDB)
end