Sha256: dc143443a837ce4abc5501dffe090c8a1299a8f6b844afff84f7ef941cd99182

Contents?: true

Size: 502 Bytes

Versions: 8

Compression:

Stored size: 502 Bytes

Contents

require 'rubygems'
require 'test/unit'
require 'shoulda'

require 'mongoid'

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))

Mongoid.configure do |config|
  name = "mongoid_test"
  host = "localhost"
  config.master = Mongo::Connection.new.db(name)
  # config.logger = nil
  # config.slaves = [
    # Mongo::Connection.new(host, 27018, :slave_ok => true).db(name)
  # ]
end

require 'mongoid_session_store'

class Test::Unit::TestCase
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
mongoid_session_store-1.1.2 test/helper.rb
mongoid_session_store-1.1.1 test/helper.rb
mongoid_session_store-1.1.0 test/helper.rb
mongoid_session_store-1.0.0 test/helper.rb
mongoid_session_store-1.0.0.beta2 test/helper.rb
mongoid_session_store-1.0.0.beta1 test/helper.rb
mongoid_session_store-0.0.2 test/helper.rb
mongoid_session_store-0.0.1 test/helper.rb