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

have fixed non working days in spec setup

ulfertsa6c6fe5fea7d
diff --git a/spec/features/admin/working_days_spec.rb b/spec/features/admin/working_days_spec.rb
index 7aea75023b9..15f6bc4f15c 100644
--- a/spec/features/admin/working_days_spec.rb
+++ b/spec/features/admin/working_days_spec.rb
@@ -183,9 +183,9 @@ RSpec.describe 'Working Days', js: true, with_cuprite: true do
describe 'non-working days' do
shared_let(:non_working_days) do
[
- create(:non_working_day),
- create(:non_working_day),
- create(:non_working_day)
+ create(:non_working_day, date: Date.new(Date.current.year, 6, 10)),
+ create(:non_working_day, date: Date.new(Date.current.year, 8, 20)),
+ create(:non_working_day, date: Date.new(Date.current.year, 9, 25))
]
end