Sha256: c26b315d1afbaa63c91590e18b23ec3d697b68d347d26d794d35beb7b9eeb259

Contents?: true

Size: 495 Bytes

Versions: 5

Compression:

Stored size: 495 Bytes

Contents

require "rubygems"
require "mongo_mapper"

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/mongo_mapper")
require File.join(File.dirname(__FILE__), "models")
require File.join(File.dirname(__FILE__), "model_builder")

Version data entries

5 entries across 5 versions & 3 rubygems

Version Path
remarkable_mongo-0.1.4 spec/spec_helper.rb
remarkable_mongo-0.1.3 spec/spec_helper.rb
remarkable_mongo_ign-0.1.2 spec/spec_helper.rb
ippy04-remarkable_mongo-0.1.3 spec/spec_helper.rb
remarkable_mongo-0.1.2 spec/spec_helper.rb