Commit 8a7b8c7d authored by Oswaldo Ferreira's avatar Oswaldo Ferreira

Improve IssueLinks::DestroyService test messages

parent f10dc700
......@@ -7,7 +7,7 @@ describe IssueLinks::DestroyService, service: true do
subject { described_class.new(issue_link, user).execute }
context 'success' do
context 'when successfully removes an issue link' do
let(:issue_a) { create :issue, project: project }
let(:issue_b) { create :issue, project: project }
......@@ -36,7 +36,7 @@ describe IssueLinks::DestroyService, service: true do
end
end
context 'failure' do
context 'when failing to remove an issue link' do
let(:unauthorized_project) { create :empty_project }
let(:issue_a) { create :issue, project: project }
let(:issue_b) { create :issue, project: unauthorized_project }
......
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