Sha256: dec6c41309726d47d4ad329fd57f2d9683456003302395766d5ebefb3bdc34c4

Contents?: true

Size: 583 Bytes

Versions: 2

Compression:

Stored size: 583 Bytes

Contents

# Configure Rails Envinronment
ENV["RAILS_ENV"] = "test"

require File.expand_path('../../test_app/config/environment', __FILE__)
require "rspec/rails"
require "nokogiri"

# Load support files
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each{|f| require f}

RSpec.configure do |config|
  # Remove this line if you don't want RSpec's should and should_not
  # methods or matchers
  require 'rspec/expectations'

  config.include RSpec::Matchers
  config.include BestInPlaceMongoid::TestHelpers

  # == Mock Framework
  config.mock_with :rspec
end

Capybara.default_wait_time = 5

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
best_in_place_mongoid-1.0.3 spec/spec_helper.rb
best_in_place_mongoid-1.0.2 spec/spec_helper.rb