Skip to content

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

tests[Op#52449]: resolve naming issue

Kabiru Mwenja93d643556a0a
diff --git a/modules/storages/spec/services/storages/health_service_spec.rb b/modules/storages/spec/services/storages/health_service_spec.rb
index b4103c48d12..e1a0bdd35c3 100644
--- a/modules/storages/spec/services/storages/health_service_spec.rb
+++ b/modules/storages/spec/services/storages/health_service_spec.rb
@@ -131,8 +131,8 @@ RSpec.describe Storages::HealthService do
it "notifies admin users when the storage becomes healthy" do
expect do
health_service.healthy
- end.to have_enqueued_mail(Storages::StorageMailer, :notify_healthy)
- .with(admin_storage, storage, storage.health_reason).at_most(:once)
+ end.to have_enqueued_mail(Storages::StoragesMailer, :notify_healthy)
+ .with(admin_user, storage, storage.health_reason).at_most(:once)
end
it "notifies admin users when the storage becomes unhealthy" do