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 specs

Dombi Attilaaeafb91a4914
diff --git a/spec/features/admin/working_days_spec.rb b/spec/features/admin/working_days_spec.rb
index a7b5c8bf124..d8c6f8b4059 100644
--- a/spec/features/admin/working_days_spec.rb
+++ b/spec/features/admin/working_days_spec.rb
@@ -136,7 +136,7 @@ describe 'Working Days', type: :feature, js: true do
dialog.confirm
end
- expect(page).to have_selector('.flash.error', text: 'At least one working day needs to be specified.')
+ expect(page).to have_selector('.flash.error', text: 'At least one day of the week must be defined as a working day.')
# Restore the checkboxes to their valid state
expect(page).to have_checked_field 'Monday'
expect(page).to have_checked_field 'Tuesday'