Sha256: 59873ce00d291399e9090dcf7accfcd4082c6a5eb38f04dc701ca3c5e8d785fd

Contents?: true

Size: 560 Bytes

Versions: 1

Compression:

Stored size: 560 Bytes

Contents

require 'rubygems'
require 'bundler'
Bundler.setup

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

MODELS = File.join(File.dirname(__FILE__), "models")
$LOAD_PATH.unshift(MODELS)

require 'mongoid'
require 'mongoid_signature'
require 'rspec'

Mongoid.configure do |config|
  name = "mongoid_signature_test"
  host = "localhost"
  config.master = Mongo::Connection.new.db(name)
end

Dir[ File.join(MODELS, "*.rb") ].sort.each { |file| require File.basename(file) }

RSpec.configure do |config|
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mongoid_signature-0.0.4 spec/spec_helper.rb