Sha256: f577c7d45df02c7dfba2c1e8174aff5bd64e3ffbd6ca71f5c50dd65b25a646e7

Contents?: true

Size: 650 Bytes

Versions: 16

Compression:

Stored size: 650 Bytes

Contents

require File.join(File.dirname(__FILE__), '/require_gems')
require File.join(File.dirname(__FILE__), '/rails_test_app')

require 'capybara'
require 'capybara/dsl'
Capybara.app = Rails.application
Capybara.save_and_open_page_path = File.join(File.dirname(__FILE__), '/public')

RSpec.configure do |rspec_config|
  rspec_config.before(:each) do
    Mongoid.configure do |mongoid_config|
      name = "test_wice_grid"
      host = "localhost"
      mongoid_config.master = Mongo::Connection.new.db(name)
      mongoid_config.master.collections.select{ |c| c.name != 'system.indexes' }.each { |c| c.drop }
    end
  end
end

require 'test/blueprint'
  

Version data entries

16 entries across 16 versions & 3 rubygems

Version Path
wice_grid_mongo-6.2.4 test/spec_helper.rb
wice_grid_mongoid-6.2.3 test/spec_helper.rb
wice_grid_mongoid-6.2.2 test/spec_helper.rb
wice_grid_mongoid-6.2.1 test/spec_helper.rb
wice_grid_mongoid-6.2.0 test/spec_helper.rb
wice_grid_mongoid-6.1.1 test/spec_helper.rb
wice_grid_mongoid-6.1.0 test/spec_helper.rb
wice_grid_mongoid-6.0.10 test/spec_helper.rb
wice_grid_mongoid-6.0.9 test/spec_helper.rb
wice_grid_mongoid-6.0.8 test/spec_helper.rb
wice_grid_mongoid-6.0.7 test/spec_helper.rb
wice_grid_mongoid-6.0.6 test/spec_helper.rb
wice_grid_mongoid-6.0.5 test/spec_helper.rb
wice_grid_mongoid-6.0.4 test/spec_helper.rb
wice_grid_mongoid-6.0.3 test/spec_helper.rb
mongoid_wice_grid-4.0.0 test/spec_helper.rb