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

linting

ulfertsa47d6ec3f70f
diff --git a/spec/contracts/work_packages/update_contract_spec.rb b/spec/contracts/work_packages/update_contract_spec.rb
index 56b5a21c68f..c45e0cb50a9 100644
--- a/spec/contracts/work_packages/update_contract_spec.rb
+++ b/spec/contracts/work_packages/update_contract_spec.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
#-- copyright
# OpenProject is an open source project management software.
# Copyright (C) the OpenProject GmbH
@@ -259,7 +261,7 @@ RSpec.describe WorkPackages::UpdateContract do
end
context "when the subject does not extends OpenProject::ChangedBySystem" do
- include_examples "custom_field readonly errors"
+ it_behaves_like "custom_field readonly errors"
end
context "when the subject extends OpenProject::ChangedBySystem" do
@@ -267,7 +269,7 @@ RSpec.describe WorkPackages::UpdateContract do
work_package.extend(OpenProject::ChangedBySystem)
end
- include_examples "custom_field readonly errors"
+ it_behaves_like "custom_field readonly errors"
end
end
end