Sha256: 839913517a377d2d6f9d29f5e4d03fd97b6d45380dec544acb7b3b2cb5eef6e8

Contents?: true

Size: 583 Bytes

Versions: 3

Compression:

Stored size: 583 Bytes

Contents

require 'rubygems'
require 'rack'
require 'rack/test'
require 'mongo'
gem 'agnostic-will_paginate'
require 'will_paginate/collection'

require File.expand_path( File.join( File.dirname(__FILE__), %w[.. lib mongo3] ) )

Spec::Runner.configure do |config|  
  begin
    Mongo::Connection.new( 'localhost', 12345 )
  rescue => boom
    puts "\n"*3
    puts "<OH SNAP!!>"
    puts ""
    puts "To run the tests you need to a local instance of mongodb on port 12345"
    puts ""
    puts "> mongod --dbpath /data/db/mongo3 --port 12345"
    puts "\n"*3
    raise "Bailing out"
  end  
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mongo3-0.1.5 spec/spec_helper.rb
mongo3-0.1.4 spec/spec_helper.rb
mongo3-0.1.3 spec/spec_helper.rb