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"
|
COUCHHOST = "http://127.0.0.1:5984"
|
||||||
TESTDB = 'couchrest-model-test'
|
TESTDB = 'couchrest-model-test'
|
||||||
TEST_SERVER = CouchRest.new
|
TEST_SERVER = CouchRest.new COUCHHOST
|
||||||
TEST_SERVER.default_database = TESTDB
|
TEST_SERVER.default_database = TESTDB
|
||||||
DB = TEST_SERVER.database(TESTDB)
|
DB = TEST_SERVER.database(TESTDB)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue