test/test_helper.rb in troo-0.0.8 vs test/test_helper.rb in troo-0.0.9
- old
+ new
@@ -18,10 +18,11 @@
require_relative './support/vcr_setup.rb'
require_relative '../lib/troo.rb'
require_relative './support/fabrication.rb'
-Ohm.connect(db: Troo.config.test_db)
+database = Troo::Configuration.load('test/support/.trooconf', :test).database
+Ohm.connect(db: database)
require 'mocha/setup'
def database_cleanup(delay = 0)
Ohm.redis.flushdb