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

Update modules/costs/spec/contracts/time_entries/update_contract_spec.rb

Klaus Zanders3b5382e70137
diff --git a/modules/costs/spec/contracts/time_entries/update_contract_spec.rb b/modules/costs/spec/contracts/time_entries/update_contract_spec.rb
index 287b9107f48..e8062ef735a 100644
--- a/modules/costs/spec/contracts/time_entries/update_contract_spec.rb
+++ b/modules/costs/spec/contracts/time_entries/update_contract_spec.rb
@@ -55,7 +55,7 @@ RSpec.describe TimeEntries::UpdateContract do
context 'if project changed' do
let(:new_project) do
- build_stubbed(:project).tap do |new_project|
+ build_stubbed(:project) do |new_project|
allow(TimeEntryActivity)
.to receive(:active_in_project)
.with(new_project)