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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
cleaned up and amended comments
Markus Kahlb7c0e9cb8302
diff --git a/spec/workers/application_job_spec.rb b/spec/workers/application_job_spec.rbindex 20b990257ee..4ce61ea9e98 100644--- a/spec/workers/application_job_spec.rb+++ b/spec/workers/application_job_spec.rb@@ -56,18 +56,18 @@ describe ApplicationJob doendend- describe 'email configuration' do #, with_settings: { email_delivery_method: :smtp } do- # the email delivery method has to be smtp for the settings to be reloaded-+ describe 'email configuration' dolet(:ports) { [] }before do+ # pick a random job to test if the settings are updatedallow_any_instance_of(Principals::DeleteJob).to receive(:perform) doports << ActionMailer::Base.smtp_settings[:port]endendit "is reloaded for each job" do+ # the email delivery method has to be smtp for the settings to be reloadedSetting.email_delivery_method = :smtpPrincipals::DeleteJob.perform_now nil