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
amend path expectations
ulfertsa9f4a9e66b41
diff --git a/modules/ifc_models/spec/support/pages/ifc_models/index.rb b/modules/ifc_models/spec/support/pages/ifc_models/index.rbindex 098cda79958..723be78377e 100644--- a/modules/ifc_models/spec/support/pages/ifc_models/index.rb+++ b/modules/ifc_models/spec/support/pages/ifc_models/index.rb@@ -96,8 +96,9 @@ module Pagesdef show_model(model)click_model_link model.title+ # The extra slash is required for angularexpect_correct_page_loaded '.ifc-model-viewer--container',- ifc_models_project_ifc_model_path(project, model)+ ifc_models_project_ifc_model_path(project, model) + '/'visit!end@@ -105,8 +106,9 @@ module Pagesdef show_defaultsclick_toolbar_button 'Show defaults'+ # The extra slash is required for angularexpect_correct_page_loaded '.ifc-model-viewer--container',- defaults_ifc_models_project_ifc_models_path(project)+ defaults_ifc_models_project_ifc_models_path(project) + '/'visit!end@@ -140,8 +142,7 @@ module Pagesdef expect_correct_page_loaded(checked_selector, path)expect(page).to have_selector(checked_selector)- # Angular will append a slash to the path- expect(current_path).to eql path + '/'+ expect(current_path).to eql pathenddef change_model_name(model_name, new_name)