Sha256: cbf295b2d5c5cce6642e2c2adb9c26130b72794d40359274b8115ce99c474701

Contents?: true

Size: 464 Bytes

Versions: 1

Compression:

Stored size: 464 Bytes

Contents

require "rubygems"

gem "mongomapper", "~> 0.2.0"
require "mongomapper"

MongoMapper.database = "remarkable_mongomapper"

def reset_test_db!
  MongoMapper.connection.drop_database("remarkable_mongomapper")
end

Spec::Runner.configure do |config|
  config.before(:all) { reset_test_db! }
  config.after(:all) { reset_test_db! }
end

require File.join(File.dirname(__FILE__), "..", "lib", "remarkable_mongomapper")
require File.join(File.dirname(__FILE__), "models")

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
yeastymobs-remarkable_mongomapper-0.0.1 spec/spec_helper.rb