Commit f0e55c26 authored by Sean McGivern's avatar Sean McGivern

Fix conflicts from /duplicate quick action

parent 99b41743
...@@ -19,15 +19,11 @@ module SystemNoteHelper ...@@ -19,15 +19,11 @@ module SystemNoteHelper
'discussion' => 'icon_comment_o', 'discussion' => 'icon_comment_o',
'moved' => 'icon_arrow_circle_o_right', 'moved' => 'icon_arrow_circle_o_right',
'outdated' => 'icon_edit', 'outdated' => 'icon_edit',
<<<<<<< HEAD
'duplicate' => 'icon_clone', 'duplicate' => 'icon_clone',
'approved' => 'icon_check', 'approved' => 'icon_check',
'unapproved' => 'icon_fa_close', 'unapproved' => 'icon_fa_close',
'relate' => 'icon_anchor', 'relate' => 'icon_anchor',
'unrelate' => 'icon_anchor_broken' 'unrelate' => 'icon_anchor_broken'
=======
'duplicate' => 'icon_clone'
>>>>>>> upstream/master
}.freeze }.freeze
def icon_for_system_note(note) def icon_for_system_note(note)
......
...@@ -552,7 +552,6 @@ module SystemNoteService ...@@ -552,7 +552,6 @@ module SystemNoteService
create_note(NoteSummary.new(noteable, project, author, body, action: 'moved')) create_note(NoteSummary.new(noteable, project, author, body, action: 'moved'))
end end
<<<<<<< HEAD
# #
# noteable - Noteable object # noteable - Noteable object
# noteable_ref - Referenced noteable object # noteable_ref - Referenced noteable object
...@@ -607,8 +606,6 @@ module SystemNoteService ...@@ -607,8 +606,6 @@ module SystemNoteService
create_note(NoteSummary.new(noteable, noteable.project, user, body, action: 'unapproved')) create_note(NoteSummary.new(noteable, noteable.project, user, body, action: 'unapproved'))
end end
=======
>>>>>>> upstream/master
# Called when a Noteable has been marked as a duplicate of another Issue # Called when a Noteable has been marked as a duplicate of another Issue
# #
# noteable - Noteable object # noteable - Noteable object
......
...@@ -119,7 +119,6 @@ feature 'Issues > User uses quick actions', feature: true, js: true do ...@@ -119,7 +119,6 @@ feature 'Issues > User uses quick actions', feature: true, js: true do
end end
end end
<<<<<<< HEAD
describe 'adding a weight from a note' do describe 'adding a weight from a note' do
let(:issue) { create(:issue, project: project) } let(:issue) { create(:issue, project: project) }
...@@ -196,8 +195,6 @@ feature 'Issues > User uses quick actions', feature: true, js: true do ...@@ -196,8 +195,6 @@ feature 'Issues > User uses quick actions', feature: true, js: true do
end end
end end
=======
>>>>>>> upstream/master
describe 'mark issue as duplicate' do describe 'mark issue as duplicate' do
let(:issue) { create(:issue, project: project) } let(:issue) { create(:issue, project: project) }
let(:original_issue) { create(:issue, project: project) } let(:original_issue) { create(:issue, project: project) }
......
...@@ -263,7 +263,6 @@ describe QuickActions::InterpretService, services: true do ...@@ -263,7 +263,6 @@ describe QuickActions::InterpretService, services: true do
end end
end end
<<<<<<< HEAD
shared_examples 'weight command' do shared_examples 'weight command' do
it 'populates weight: 5 if content contains /weight 5' do it 'populates weight: 5 if content contains /weight 5' do
_, updates = service.execute(content, issuable) _, updates = service.execute(content, issuable)
...@@ -281,8 +280,6 @@ describe QuickActions::InterpretService, services: true do ...@@ -281,8 +280,6 @@ describe QuickActions::InterpretService, services: true do
end end
end end
=======
>>>>>>> upstream/master
shared_examples 'duplicate command' do shared_examples 'duplicate command' do
it 'fetches issue and populates canonical_issue_id if content contains /duplicate issue_reference' do it 'fetches issue and populates canonical_issue_id if content contains /duplicate issue_reference' do
issue_duplicate # populate the issue issue_duplicate # populate the issue
......
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