Sha256: 64573d0da23fad6721e505b94dfe0dcd0dafc369eb33835c319ae8b68ce1ee29
Contents?: true
Size: 730 Bytes
Versions: 22
Compression:
Stored size: 730 Bytes
Contents
# Running Mongoid Tests ## Overview ### Quick Start Spin up a MongoDB deployment against which to run the Mongoid specs. Mongoid specs support a variety of MongoDB topologies, but the simplest is a single MongoDB instance: # Launch mongod in one terminal mkdir /tmp/mdb mongod --dbpath /tmp/mdb Run the test suite in a separate terminal: rake ## Caveats ### "Too many open files" error On MacOS, you may encounter a "Too many open files" error on the MongoDB server when running the tests. If this happens, stop the server, run the command `ulimit -n 10000` in the same terminal session as the server, and restart the server. This will increase the number of files that can be opened. Then, re-run the tests.
Version data entries
22 entries across 22 versions & 2 rubygems