use the COUCHHOST for the test db
Signed-off-by: Marcos Tapajós <tapajos@gmail.com>
This commit is contained in:
parent
958616025d
commit
1d0df87e34
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue