From 03e1645a229eaf6ef67b0b445a9f938ad637cd0c Mon Sep 17 00:00:00 2001 From: Michel Engelen Date: Thu, 13 Jun 2019 15:51:59 +0200 Subject: updated tests for !29553 --- .../issues/create_issue_for_discussions_in_merge_request_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/features/issues/create_issue_for_discussions_in_merge_request_spec.rb b/spec/features/issues/create_issue_for_discussions_in_merge_request_spec.rb index f6dccb5e98a..bf81b2485ff 100644 --- a/spec/features/issues/create_issue_for_discussions_in_merge_request_spec.rb +++ b/spec/features/issues/create_issue_for_discussions_in_merge_request_spec.rb @@ -40,7 +40,7 @@ describe 'Resolving all open threads in a merge request from an issue', :js do find(resolve_all_discussions_link_selector).click end - it_behaves_like 'creating an issue for a thread' + it_behaves_like 'creating an issue for a discussion' end context 'for a project where all threads need to be resolved before merging' do @@ -79,7 +79,7 @@ describe 'Resolving all open threads in a merge request from an issue', :js do page.click_link 'Create an issue to resolve them later', href: new_project_issue_path(project, merge_request_to_resolve_discussions_of: merge_request.iid) end - it_behaves_like 'creating an issue for a thread' + it_behaves_like 'creating an issue for a discussion' end end end -- cgit v1.2.1