Sha256: 27309131492d516a9d1adb6ab299d1da3e62212792c4bf8efae0589d645b0703

Contents?: true

Size: 340 Bytes

Versions: 2

Compression:

Stored size: 340 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 WITHOUT_MONGOID

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
attr_masker-0.3.1 spec/support/10_mongoid_env.rb
attr_masker-0.3.0 spec/support/10_mongoid_env.rb