task_list_reference_removal_service_spec.rb failing
Summary
Job #2737595037 failed for d910c9a7:
1) WorkItems::TaskListReferenceRemovalService#execute when task mardown spans a single line behaves like successful work item task reference removal service removes the task list item containing the task reference
Failure/Error:
expect do
result
end.to change(work_item, :description).from(work_item.description).to(expected_description)
expected `WorkItem#description` to have changed to "- [ ] My title 1 single line", but is now "- [ ] My title 15 single line"
Shared Example Group: "successful work item task reference removal service" called from ./spec/services/work_items/task_list_reference_removal_service_spec.rb:85
# ./spec/services/work_items/task_list_reference_removal_service_spec.rb:39:in `block (3 levels) in <main>'
# ./spec/spec_helper.rb:426:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:417:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:413:in `block (3 levels) in <top (required)>'
Steps to reproduce
bundle exec rspec './spec/policies/project_policy_spec.rb[1:34:1:3:3]' './spec/services/work_items/task_list_reference_removal_service_spec.rb[1:1:1:1:2,1:1:2:1:2]'
Proposed Resolution
Please refer to the Resolution guidance to learn more about resolution of broken master.
Edited by Kyle Wiebers