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
Change spec expectation that now calls the service
Oliver Günthered5e2c186dc6
diff --git a/spec/features/work_packages/details/custom_fields/custom_field_spec.rb b/spec/features/work_packages/details/custom_fields/custom_field_spec.rbindex 4548a8e7026..8ab03d57856 100644--- a/spec/features/work_packages/details/custom_fields/custom_field_spec.rb+++ b/spec/features/work_packages/details/custom_fields/custom_field_spec.rb@@ -183,8 +183,10 @@ describe 'custom field inplace editor', js: true dofield.set_value ''field.expect_invalid- expect(WorkPackages::UpdateService).not_to receive(:new)field.save!++ work_package.reload+ expect(work_package.send("custom_field_#{custom_field.id}")).to eq 123endendenddiff --git a/spec/features/work_packages/table/edit_work_packages_spec.rb b/spec/features/work_packages/table/edit_work_packages_spec.rbindex 59204692ffc..68ff00be89b 100644--- a/spec/features/work_packages/table/edit_work_packages_spec.rb+++ b/spec/features/work_packages/table/edit_work_packages_spec.rb@@ -110,8 +110,8 @@ describe 'Inline editing work packages', js: true dosubject_field.set_value('')subject_field.expect_invalid- expect(WorkPackages::UpdateService).not_to receive(:new)subject_field.save!+ expect(work_package.reload.subject).to eq 'Foobar'endend