Avoid double constant warning from dev rake spec (#41051)

This commit is contained in:
Matt Jankowski authored and Claire committed 2026-10-28 18:54:14 +01:00
1 parent 3b74e98bcd
commit 005fb389b6
1 file changed
+1 -1
@@ -8,7 +8,7 @@ RSpec.describe Rake::Task do
subject { described_class['dev:populate_sample_data'] }
before do
Rails.application.load_tasks
Rails.application.load_tasks unless described_class.tasks.any?
subject.reenable
end