Sha256: 8c31ae9b184382d2f2408238fce8682cc4972b1d8c2df3fbf0e9e716d0f6fbd2

Contents?: true

Size: 648 Bytes

Versions: 25

Compression:

Stored size: 648 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../lib/mongo_mapper')

gem 'jnunemaker-matchy', '0.4.0'
gem 'shoulda', '2.10.2'
gem 'timecop', '0.3.1'
gem 'mocha', '0.9.8'

require 'matchy'
require 'shoulda'
require 'timecop'
require 'mocha'
require 'pp'

require 'support/custom_matchers'
require 'support/timing'

class Test::Unit::TestCase
  include CustomMatchers
end

test_dir = File.expand_path(File.dirname(__FILE__) + '/../tmp')
FileUtils.mkdir_p(test_dir) unless File.exist?(test_dir)

MongoMapper.connection = Mongo::Connection.new('127.0.0.1', 27017, {
  :logger => Logger.new(test_dir + '/test.log')
})
MongoMapper.database = 'test'

Version data entries

25 entries across 25 versions & 6 rubygems

Version Path
mongo_mapper-0.6.10 test/test_helper.rb
mrkurt-mongo_mapper-0.6.9 test/test_helper.rb
mongo_mapper-0.6.9 test/test_helper.rb
mrkurt-mongo_mapper-0.6.8 test/test_helper.rb
tpitale-mongo_mapper-0.6.9 test/test_helper.rb
mongo_mapper-unstable-2009.12.30 test/test_helper.rb
mongo_mapper-unstable-2009.12.29 test/test_helper.rb
mongo_mapper-unstable-2009.12.23 test/test_helper.rb
mongo_mapper-unstable-2009.12.22 test/test_helper.rb
mongo_mapper-unstable-2009.12.16 test/test_helper.rb
mongo_mapper-0.6.8 test/test_helper.rb
mongo_mapper-unstable-2009.12.14 test/test_helper.rb
mongo_mapper-0.6.7 test/test_helper.rb
mongo_mapper-0.6.6 test/test_helper.rb
mongo_mapper-unstable-2009.12.4 test/test_helper.rb
danielharan-mongo_mapper-0.6.5 test/test_helper.rb
mongo_mapper-0.6.5 test/test_helper.rb
webbynode-mongo_mapper-0.6.4 test/test_helper.rb
mongo_mapper-0.6.4 test/test_helper.rb
mongo_mapper-0.6.3 test/test_helper.rb