Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

delete the old way of conecting to DB, use helper db_connect instead

  • Loading branch information...
commit f6ddda420eab3ff700a2796f5fab26ea3ea1d7ff 1 parent bc659ea
Raphaël Bleuse authored
Showing with 1 addition and 5 deletions.
  1. +1 −5 test/request_tests.coffee
6 test/request_tests.coffee
View
@@ -6,11 +6,7 @@ app = require('../server')
client = new Client("http://localhost:8888/")
# connection to DB for "hand work"
-cradle = require 'cradle'
-connection = new cradle.Connection
- cache: false,
- raw: false
-db = connection.database('cozy')
+db = require('../helpers/db_connect_helper').db_connect()
# helpers
Please sign in to comment.
Something went wrong with that request. Please try again.