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
remove unused default values
Ivan Kuchinfc2645d6c5cd
diff --git a/spec/workers/notifications/schedule_date_alerts_notifications_job_spec.rb b/spec/workers/notifications/schedule_date_alerts_notifications_job_spec.rbindex eb434f54937..768305bda94 100644--- a/spec/workers/notifications/schedule_date_alerts_notifications_job_spec.rb+++ b/spec/workers/notifications/schedule_date_alerts_notifications_job_spec.rb@@ -67,7 +67,7 @@ RSpec.describe Notifications::ScheduleDateAlertsNotificationsJob, type: :job, witimezone.now.change(time_hash(time))end- def run_job(scheduled_at: '1:00', local_time: '1:04', timezone: timezone_paris)+ def run_job(scheduled_at:, local_time:, timezone:)set_scheduled_time(timezone_time(scheduled_at, timezone))travel_to(timezone_time(local_time, timezone)) doGoodJob.perform_inline@@ -92,11 +92,6 @@ RSpec.describe Notifications::ScheduleDateAlertsNotificationsJob, type: :job, wiendshared_examples_for 'job execution creates date alerts creation job' do- let(:timezone) { timezone_paris }- let(:scheduled_at) { '1:00' }- let(:local_time) { '1:04' }- let(:user) { user_paris }-it 'creates the job for the user' doexpect dorun_job(timezone:, scheduled_at:, local_time:) do@@ -110,10 +105,6 @@ RSpec.describe Notifications::ScheduleDateAlertsNotificationsJob, type: :job, wiendshared_examples_for 'job execution creates no date alerts creation job' do- let(:timezone) { timezone_paris }- let(:scheduled_at) { '1:00' }- let(:local_time) { '1:04' }-it 'creates no job' doexpect dorun_job(timezone:, scheduled_at:, local_time:)