Nov
14th
Wed
14th
Do NOT require Rails models in Rails unit tests
When the test runs, it will load the class twice. Loading the class twice means that all of the model’s lifecyle hooks will get called twice.