Sha256: 3fddfe3180b0733f9f66e62e6fe58f24e5f6de4ab41a9d88c5f21d9b9285a8f1

Contents?: true

Size: 524 Bytes

Versions: 1

Compression:

Stored size: 524 Bytes

Contents

require "rubygems"

gem "mongomapper", "~> 0.3.1"
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")
require File.join(File.dirname(__FILE__), "model_builder")

Version data entries

1 entries across 1 versions & 1 rubygems

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