Sha256: 0d10a122a72d186c37ebe88e0ec1b54298b9f6680b57e69ef794f1f6b3e6adae

Contents?: true

Size: 465 Bytes

Versions: 1

Compression:

Stored size: 465 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.1.0 spec/spec_helper.rb