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
Fix project path expectations in features
Alexander Brandon Coles0bde357dac41
diff --git a/spec/features/global_roles/global_create_project_spec.rb b/spec/features/global_roles/global_create_project_spec.rbindex 93250f754ff..0a81768404e 100644--- a/spec/features/global_roles/global_create_project_spec.rb+++ b/spec/features/global_roles/global_create_project_spec.rb@@ -91,7 +91,7 @@ RSpec.describe "Global role: Global Create project",click_on "Create"- expect(page).to have_current_path "/projects/new-project-name/"+ expect(page).to have_current_path "/projects/new-project-name"endenddiff --git a/spec/features/work_packages/switching_to_project_from_work_package_spec.rb b/spec/features/work_packages/switching_to_project_from_work_package_spec.rbindex 8c8a590e928..36d7817e3cd 100644--- a/spec/features/work_packages/switching_to_project_from_work_package_spec.rb+++ b/spec/features/work_packages/switching_to_project_from_work_package_spec.rb@@ -29,7 +29,6 @@ RSpec.describe "Switching to project from work package", :js doexpect(link[:href]).to include(project_path(project.id))link.click- # Redirection causes a trailing / on the path- expect(page).to have_current_path("#{project_path(project.id)}/")+ expect(page).to have_current_path project_path(project.id)endend