let(:merge_request_description){"Description\n\ncloses #{issue_1.to_reference}\n\n refers to #{issue_2.to_reference}"}
let(:merge_request_description){"Description\n\ncloses #{issue_1.to_reference}\n\n refers to #{issue_2.to_reference}"}
it'does not display closing issue message'do
it'does not display closing issue message'do
expect(page).tohave_content("Accepting this merge request will close issue #{issue_1.to_reference}. Issue #{issue_2.to_reference} is mentioned but will not closed.")
expect(page).tohave_content("Accepting this merge request will close issue #{issue_1.to_reference}. Issue #{issue_2.to_reference} is mentioned but will not be closed.")