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
adapt specs
ulfertsbd3f182c3de4
diff --git a/spec/models/custom_field_spec.rb b/spec/models/custom_field_spec.rbindex dfead8ad2c3..d9b87d0dc3f 100644--- a/spec/models/custom_field_spec.rb+++ b/spec/models/custom_field_spec.rb@@ -37,8 +37,8 @@ describe CustomField, type: :model dolet(:field2) { FactoryBot.build :custom_field }describe '#name' do- it { should validate_presence_of(:name) }- it { should validate_length_of(:name).is_at_most(30) }+ it { is_expected.to validate_presence_of(:name) }+ it { is_expected.to validate_length_of(:name).is_at_most(256) }describe 'uniqueness' dodescribe 'WHEN value, locale and type are identical' do