79401484

Date: 2025-01-30 23:44:08
Score: 0.5
Natty:
Report link

I had Rails.application.load_tasks at the top of my file, and didn't realize that it was also in spec/support/tasks.rb

Not sure why loading tasks again would cause my task to be called for each load within a spec, but removing the extra load fixed the issue for me.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Anthony Sallows