Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Enable "Nate Heckler" mode when using Factory Profiler tool

Aaron Contrerasa071f5660399
diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb
index 6fc4f52dc22..448cb256919 100644
--- a/spec/rails_helper.rb
+++ b/spec/rails_helper.rb
@@ -36,6 +36,8 @@ require 'shoulda/matchers'
require 'test_prof/recipes/rspec/before_all'
require 'test_prof/recipes/rspec/let_it_be'
require "test_prof/recipes/rspec/factory_default"
+# Encourages fixing factories as soon as possible
+require "test_prof/factory_prof/nate_heckler"
# Add PaperTrail integration so that it is disabled by default
# https://github.com/paper-trail-gem/paper_trail#7b-rspec