Sha256: cf568448bb347cf1093203c683cec8edb831be21fa75cf36439fb63ba2da97d9

Contents?: true

Size: 346 Bytes

Versions: 2

Compression:

Stored size: 346 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)
    system("clear")
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mm_to_view_model-0.1.1 spec/spec_helper.rb
mm_to_view_model-0.1.0 spec/spec_helper.rb