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
obey rubocop
as-op57e99f4af4cd
diff --git a/modules/reporting/spec/workers/cost_query/pdf/timesheet_generator_spec.rb b/modules/reporting/spec/workers/cost_query/pdf/timesheet_generator_spec.rbindex 7d7cf08f230..846cff38fac 100644--- a/modules/reporting/spec/workers/cost_query/pdf/timesheet_generator_spec.rb+++ b/modules/reporting/spec/workers/cost_query/pdf/timesheet_generator_spec.rb@@ -38,45 +38,45 @@ RSpec.describe CostQuery::PDF::TimesheetGenerator dolet(:time_entry_user) { create(:user, firstname: "TimeEntry", lastname: "User") }let(:project) { create(:project) }let(:generator) { described_class.new(query, project) }- let(:export_time) { DateTime.new(2024, 12, 04, 23, 59) }+ let(:export_time) { DateTime.new(2024, 12, 4, 23, 59) }let(:export_time_formatted) { format_time(export_time, include_date: true) }- let(:user_time_entry) {+ let(:user_time_entry) docreate(:time_entry,project:,user: user,- spent_on: Date.new(2024, 12, 01),+ spent_on: Date.new(2024, 12, 0o1),start_time: 8 * 60,- time_zone: "UTC"- ) }- let(:time_entry) {+ time_zone: "UTC")+ end+ let(:time_entry) docreate(:time_entry,project:,user: time_entry_user,- spent_on: Date.new(2024, 12, 01),+ spent_on: Date.new(2024, 12, 0o1),start_time: 9 * 60,- time_zone: "UTC"- ) }- let(:other_time_entry) {+ time_zone: "UTC")+ end+ let(:other_time_entry) docreate(:time_entry,project:,user: time_entry_user,- spent_on: Date.new(2024, 12, 01),+ spent_on: Date.new(2024, 12, 0o1),start_time: 10 * 60,- time_zone: "UTC"- ) }- let(:time_entry_with_comment) {+ time_zone: "UTC")+ end+ let(:time_entry_with_comment) docreate(:time_entry,project:,user: time_entry_user,comments: "This is a comment",- spent_on: Date.new(2024, 12, 02)- ) }- let(:time_entry_without_time) {+ spent_on: Date.new(2024, 12, 0o2))+ end+ let(:time_entry_without_time) docreate(:time_entry,project:,user: time_entry_user,- spent_on: Date.new(2024, 12, 03)- ) }+ spent_on: Date.new(2024, 12, 0o3))+ endlet(:time_entries) { [user_time_entry, time_entry, other_time_entry, time_entry_with_comment, time_entry_without_time] }before do