Sha256: 20e1c6554153fba14febf8ae9a2ac54b83a45f1e566a9bed256c3c19918e08ba

Contents?: true

Size: 281 Bytes

Versions: 33

Compression:

Stored size: 281 Bytes

Contents

ENV["RAILS_ENV"] = "test"
require File.expand_path('../../config/environment', __FILE__)
require 'rails/test_help'

class ActiveSupport::TestCase
  def common_setup
    @con = @mongodb_logger.mongo_connection
    @collection = @con[@mongodb_logger.mongo_collection_name]
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
mongodb_logger-0.2.2 test/rails/test/test_helper.rb
mongodb_logger-0.2.1 test/rails/test/test_helper.rb
mongodb_logger-0.2.0 test/rails/test/test_helper.rb
mongodb_logger-0.1.9 test/rails/test/test_helper.rb
mongodb_logger-0.1.8 test/rails/test/test_helper.rb
mongodb_logger-0.1.7 test/rails/test/test_helper.rb
mongodb_logger-0.1.6 test/rails/test/test_helper.rb
mongodb_logger-0.1.5 test/rails/test/test_helper.rb
mongodb_logger-0.1.4 test/rails/test/test_helper.rb
mongodb_logger-0.1.3 test/rails/test/test_helper.rb
mongodb_logger-0.1.2 test/rails/test/test_helper.rb
mongodb_logger-0.1.1 test/rails/test/test_helper.rb
mongodb_logger-0.1.0 test/rails/test/test_helper.rb