```ruby
require 'couchrest_model'

COUCHHOST   = "http://127.0.0.1:5984"
TESTDB      = 'tenacity-test'
TEST_SERVER = CouchRest.new
TEST_SERVER.default_database = TESTDB
COUCH_DB = TEST_SERVER.database(TESTDB)

```

Verify CouchDB is running before starting the tests
user
```ruby
require 'couchrest_model'

COUCHHOST   = "http://127.0.0.1:5984"
TESTDB      = 'tenacity-test'
TEST_SERVER = CouchRest.new
TEST_SERVER.default_database = TESTDB
COUCH_DB = TEST_SERVER.database(TESTDB)

begin
  TEST_SERVER.databases
rescue Exception
  puts "CouchDB is not running, and is required.  Please start it."
  exit
end

```
assistant