Rails Testing Antipatterns: Models
This is the second post in the series about antipatterns in testing Rails applications. See part 1 for thoughts related to fixtures and factories. Creating records when building would also work It is common sense to say that with plain ActiveRecord or a factory library you can both create and only instantiate new records. However, […]