Sha256: 12812ab6478d266d887328bfcbc72bd1caeb9fa018a83da163f4ababb78951be

Contents?: true

Size: 347 Bytes

Versions: 2

Compression:

Stored size: 347 Bytes

Contents

# Copied from Mongoid's test suite
# https://github.com/mongodb/mongoid/blob/v6.2.0/spec/spec_helper.rb

# These environment variables can be set if wanting to test against a database
# that is not on the local machine.
ENV["MONGOID_SPEC_HOST"] ||= "127.0.0.1"
ENV["MONGOID_SPEC_PORT"] ||= "27017"

require "mongoid" unless ENV["WITHOUT_MONGOID"]

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
attr_masker-0.2.1 spec/support/00_mongoid_env.rb
attr_masker-0.2.0 spec/support/00_mongoid_env.rb