Commit 3c760560 authored by Michel Engelen's avatar Michel Engelen

fixed remaining specs for !29553

parent 2c00b42e
......@@ -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 discussion'
it_behaves_like 'creating an issue for a thread'
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 discussion'
it_behaves_like 'creating an issue for a thread'
end
end
end
......
shared_examples 'creating an issue for a discussion' do
shared_examples 'creating an issue for a thread' do
it 'shows an issue with the title filled in' do
title_field = page.find_field('issue[title]')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment