Sha256: 3e974c140f535337a1c88d05a7224058e3d8e97eec60251bfca979914a51230d

Contents?: true

Size: 326 Bytes

Versions: 1

Compression:

Stored size: 326 Bytes

Contents

require 'mm_to_view_model'
Bundler.require(:development)

MongoMapper.database = "mm_to_view_model"
MongoMapper.connection = Mongo::Connection.new('127.0.0.1', 27017)

RSpec.configure do |config|
  config.before(:each) do
    MongoMapper.database.collections.each { |collection| collection.remove }.collect(&:name)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mm_to_view_model-0.1.2 spec/spec_helper.rb