Avoid double constant warning from dev rake spec (#41051)
This commit is contained in:
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
|
||||
|
||||
|
||||
Reference in new issue
Block a user