require 'rubygems'
require 'bundler/setup'

Bundler.require(:default, :test)
require 'rolify'
require 'ammeter/init'

ActiveRecord::Base.establish_connection(:adapter => "sqlite3", :database => ":memory:")
ActiveRecord::Base.logger = Logger.new(File.open('logs/database.log', 'a'))

load File.dirname(__FILE__) + '/support/schema.rb'
load File.dirname(__FILE__) + '/support/models.rb'
load File.dirname(__FILE__) + '/support/data.rb'
require 'rubygems'
require 'bundler/setup'

Bundler.require(:default, :test)
require 'rolify'
require 'ammeter/init'

ActiveRecord::Base.establish_connection(:adapter => "sqlite3", :database => ":memory:")

load File.dirname(__FILE__) + '/support/schema.rb'
load File.dirname(__FILE__) + '/support/models.rb'
load File.dirname(__FILE__) + '/support/data.rb'
Revert "added logging for debugging purpose when running specs"
Revert "added logging for debugging purpose when running specs"

This reverts commit cbb5a625b454db95e2ff2bb244cc09cc7306f8fe.
