Sha256: 8b5706ca4987f4e4d9ff39cc655faef75bb2fea04281326449e4c0d1f3714f54

Contents?: true

Size: 178 Bytes

Versions: 13

Compression:

Stored size: 178 Bytes

Contents

Spec::Runner.configure do |config|
  config.before(:each) do
    db = MongoMapper.database
    db.collection_names.each do |name|
      db.collection(name).drop
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
rails-ext-0.2.15 lib/rails_ext/mongo_mapper_spec_helper.rb
rails-ext-0.2.14 lib/rails_ext/mongo_mapper_spec_helper.rb
rails-ext-0.2.13 lib/rails_ext/mongo_mapper_spec_helper.rb
rails-ext-0.2.12 lib/rails_ext/mongo_mapper_spec_helper.rb
rails-ext-0.2.11 lib/rails_ext/mongo_mapper_spec_helper.rb
rails-ext-0.2.10 lib/rails_ext/mongo_mapper_spec_helper.rb
rails-ext-0.2.9 lib/rails_ext/mongo_mapper_spec_helper.rb
rails-ext-0.2.8 lib/rails_ext/mongo_mapper_spec_helper.rb
rails-ext-0.2.7 lib/rails_ext/mongo_mapper_spec_helper.rb
rails-ext-0.2.6 lib/rails_ext/mongo_mapper_spec_helper.rb
rails-ext-0.2.5 lib/rails_ext/mongo_mapper_spec_helper.rb
rails-ext-0.2.4 lib/rails_ext/mongo_mapper_spec_helper.rb
rails-ext-0.2.3 lib/rails_ext/mongo_mapper_spec_helper.rb