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

Remove regression test that the ongoing timer is not included

Klaus Zanders24a23be14fa4
diff --git a/modules/costs/spec/controllers/my/time_tracking_controller_spec.rb b/modules/costs/spec/controllers/my/time_tracking_controller_spec.rb
index f7853da4420..78473e5f92e 100644
--- a/modules/costs/spec/controllers/my/time_tracking_controller_spec.rb
+++ b/modules/costs/spec/controllers/my/time_tracking_controller_spec.rb
@@ -97,16 +97,6 @@ RSpec.describe My::TimeTrackingController do
end
end
end
-
- context "with an ongoing timer" do
- let!(:time_entry) { create(:time_entry, user: user, spent_on: Date.current, hours: 1.5) }
- let!(:time_entry_ongoing) { create(:time_entry, user: user, spent_on: Date.current, ongoing: true) }
-
- it "does not include the ongoing timer in the my time tracking page (Regression: #64173)" do
- get :index
- expect(assigns(:time_entries)).to contain_exactly(time_entry)
- end
- end
end
describe "GET /my/time-tracking/day" do