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 duplicate let in update service shared example

Ivan Kuchin1e48a1b6a2ca
diff --git a/spec/services/base_services/behaves_like_update_service.rb b/spec/services/base_services/behaves_like_update_service.rb
index f78f52ac8ba..cb3c95f7f80 100644
--- a/spec/services/base_services/behaves_like_update_service.rb
+++ b/spec/services/base_services/behaves_like_update_service.rb
@@ -34,7 +34,6 @@ RSpec.shared_examples "BaseServices update service" do
let(:service_class) { described_class }
let(:namespace) { service_class.to_s.deconstantize }
let(:model_class) { namespace.singularize.constantize }
- let(:contract_class) { "#{namespace}::UpdateContract".constantize }
let(:factory) { namespace.singularize.underscore }
let(:set_attributes_class) { "#{namespace}::SetAttributesService".constantize }