Skip to content
Snippets Groups Projects
Commit 886e3327 authored by Sean McGivern's avatar Sean McGivern
Browse files

Fix conflicts in issue models

parent a48e7a0f
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -201,7 +201,6 @@ def related_branches(current_user)
branches_with_iid - branches_with_merge_request
end
 
<<<<<<< HEAD
def related_issues(current_user, preload: nil)
related_issues = Issue
.select(['issues.*', 'issue_links.id AS issue_link_id'])
Loading
Loading
@@ -219,8 +218,6 @@ def related_issues(current_user, preload: nil)
)
end
 
=======
>>>>>>> upstream/master
def suggested_branch_name
return to_branch_name unless project.repository.branch_exists?(to_branch_name)
 
Loading
Loading
Loading
Loading
@@ -376,7 +376,6 @@
end
end
 
<<<<<<< HEAD
describe '#related_issues' do
let(:user) { create(:user) }
let(:authorized_project) { create(:project) }
Loading
Loading
@@ -414,8 +413,6 @@
end
end
 
=======
>>>>>>> upstream/master
describe '#suggested_branch_name' do
let(:repository) { double }
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment