test/test_helper.rb in documentcloud-cloud-crowd-0.0.1 vs test/test_helper.rb in documentcloud-cloud-crowd-0.0.2
- old
+ new
@@ -1,18 +1,20 @@
require 'rubygems'
here = File.dirname(__FILE__)
require File.expand_path(here + "/../lib/cloud-crowd")
-CloudCrowd.configure(here + '/config/test_config.yml')
-CloudCrowd.configure_database(here + '/config/test_database.yml')
+require 'cloud_crowd/app'
+CloudCrowd.configure(here + '/config/config.yml')
+CloudCrowd.configure_database(here + '/config/database.yml')
+
require 'faker'
require 'sham'
require 'rack/test'
require 'shoulda/active_record'
require 'machinist/active_record'
require 'mocha'
-require "#{CloudCrowd::App.root}/test/blueprints.rb"
+require "#{CloudCrowd::ROOT}/test/blueprints.rb"
class Test::Unit::TestCase
include CloudCrowd
end