diff options
Diffstat (limited to 'spec/requests/api/graphql/mutations/work_items/delete_task_spec.rb')
-rw-r--r-- | spec/requests/api/graphql/mutations/work_items/delete_task_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/requests/api/graphql/mutations/work_items/delete_task_spec.rb b/spec/requests/api/graphql/mutations/work_items/delete_task_spec.rb index 05d3587d342..e576d0ee7ef 100644 --- a/spec/requests/api/graphql/mutations/work_items/delete_task_spec.rb +++ b/spec/requests/api/graphql/mutations/work_items/delete_task_spec.rb @@ -54,7 +54,7 @@ RSpec.describe "Delete a task in a work item's description" do end.to change(WorkItem, :count).by(-1).and( change(IssueLink, :count).by(-1) ).and( - change(work_item, :description).from("- [ ] #{task.to_reference}+").to('') + change(work_item, :description).from("- [ ] #{task.to_reference}+").to("- [ ] #{task.title}") ) expect(response).to have_gitlab_http_status(:success) |