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

ProjectLifeCycles => ProjectLifeCycle

Ivan Kuchin229f83e055f2
diff --git a/spec/support/components/projects/project_life_cycles/edit_dialog.rb b/spec/support/components/projects/project_life_cycle/edit_dialog.rb
similarity index 99%
rename from spec/support/components/projects/project_life_cycles/edit_dialog.rb
rename to spec/support/components/projects/project_life_cycle/edit_dialog.rb
index 93cf21323ee..2a6371c000a 100644
--- a/spec/support/components/projects/project_life_cycles/edit_dialog.rb
+++ b/spec/support/components/projects/project_life_cycle/edit_dialog.rb
@@ -32,7 +32,7 @@ require "support/components/common/modal"
require "support/components/autocompleter/ng_select_autocomplete_helpers"
module Components
module Projects
- module ProjectLifeCycles
+ module ProjectLifeCycle
class EditDialog < Components::Common::Modal
def dialog_css_selector
"dialog#edit-project-life-cycle-dialog"
diff --git a/spec/support/pages/projects/show.rb b/spec/support/pages/projects/show.rb
index a3505e3cfe5..74d43b7b8c5 100644
--- a/spec/support/pages/projects/show.rb
+++ b/spec/support/pages/projects/show.rb
@@ -92,7 +92,7 @@ module Pages
page.find("[data-test-selector='project-life-cycle-edit-button-#{life_cycle.id}']").click
end
- Components::Projects::ProjectLifeCycles::EditDialog.new.tap do |dialog|
+ Components::Projects::ProjectLifeCycle::EditDialog.new.tap do |dialog|
dialog.expect_open
expect_angular_frontend_initialized if wait_angular