Sha256: 49b42f2a3011201e954533ff8140f1b30a9eb602f62afcd9dcac4caf250bb4ce

Contents?: true

Size: 280 Bytes

Versions: 4

Compression:

Stored size: 280 Bytes

Contents

require "mongoid-minitest"
require "minitest/autorun"

Dir[File.dirname(__FILE__) + "/models/*.rb"].each { |f| require f }

Mongoid.configure do |config|
  config.master = Mongo::Connection.new.db("mongoid-minitest-test")
end

class MiniTest::Spec
  include Mongoid::Matchers
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mongoid-minitest-0.0.3.1 test/test_helper.rb
mongoid-minitest-0.0.3 test/test_helper.rb
mongoid-minitest-0.0.2 test/test_helper.rb
mongoid-minitest-0.0.1 test/test_helper.rb