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

Fix modal title in Projects Destroy feature

Alexander Brandon Coles499d9b2d740d
diff --git a/spec/features/projects/destroy_spec.rb b/spec/features/projects/destroy_spec.rb
index 7132f028c0e..6aa5e0e0f58 100644
--- a/spec/features/projects/destroy_spec.rb
+++ b/spec/features/projects/destroy_spec.rb
@@ -57,7 +57,7 @@ RSpec.describe "Projects#destroy", :js do
click_on "Delete permanently"
end
- expect(page).to have_no_modal "Delete project foo"
+ expect(page).to have_no_modal "Delete project"
expect_flash type: :success, message: I18n.t("projects.delete.scheduled")
expect(project.reload).to eq(project)