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
reword spec descriptions for unsent_reminders_before
Ivan Kuchin262ce01bf17b
diff --git a/spec/models/notifications/scopes/unsent_reminders_before_spec.rb b/spec/models/notifications/scopes/unsent_reminders_before_spec.rbindex 6d72d260542..0c0bb450822 100644--- a/spec/models/notifications/scopes/unsent_reminders_before_spec.rb+++ b/spec/models/notifications/scopes/unsent_reminders_before_spec.rb@@ -51,37 +51,37 @@ RSpec.describe Notifications::Scopes::UnsentRemindersBefore dolet(:notification_created_at) { 10.minutes.ago }let(:notification_recipient) { recipient }- context "with a unread and not reminded notification that was created before the time and for the user" do+ context "with an unread and not reminded notification that was created before the time and for the user" doit "returns the notification" doexpect(scope).to contain_exactly(notification)endend- context "with a unread and not reminded notification that was created after the time and for the user" do+ context "with a notification that was created after the time" dolet(:notification_created_at) { 10.minutes.from_now }it { is_expected.to be_empty }end- context "with a unread and not reminded notification that was created before the time and for different user" do+ context "with a notification that was created for different user" dolet(:notification_recipient) { create(:user) }it { is_expected.to be_empty }end- context "with a unread and not reminded notification created before the time and for the user" do+ context "with a notification reminded mark set to nil" dolet(:notification_mail_reminder_sent) { nil }it { is_expected.to be_empty }end- context "with a unread but reminded notification created before the time and for the user" do+ context "with a reminded notification" dolet(:notification_mail_reminder_sent) { true }it { is_expected.to be_empty }end- context "with a read notification that was created before the time" do+ context "with a read notification" dolet(:notification_read_ian) { true }it { is_expected.to be_empty }