Commit 0e3aaa8f authored by Mayra Cabrera's avatar Mayra Cabrera

Fixes conflicts git_access and namespace_spec files

parent 74b3a38e
...@@ -107,15 +107,9 @@ module Gitlab ...@@ -107,15 +107,9 @@ module Gitlab
def check_project_moved! def check_project_moved!
return if redirected_path.nil? return if redirected_path.nil?
<<<<<<< HEAD
project_moved = Checks::ProjectMoved.new(project, user, redirected_path, protocol) project_moved = Checks::ProjectMoved.new(project, user, redirected_path, protocol)
=======
project_moved = Checks::ProjectMoved.new(project, user, redirected_path, protocol)
>>>>>>> upstream/master
if project_moved.permanent_redirect? if project_moved.permanent_redirect?
project_moved.add_redirect_message project_moved.add_redirect_message
else else
......
...@@ -684,7 +684,6 @@ describe Namespace do ...@@ -684,7 +684,6 @@ describe Namespace do
end end
end end
<<<<<<< HEAD
describe '#root_ancestor' do describe '#root_ancestor' do
it 'returns the top most ancestor', :nested_groups do it 'returns the top most ancestor', :nested_groups do
root_group = create(:group) root_group = create(:group)
...@@ -698,8 +697,6 @@ describe Namespace do ...@@ -698,8 +697,6 @@ describe Namespace do
end end
end end
=======
>>>>>>> upstream/master
describe "#allowed_path_by_redirects" do describe "#allowed_path_by_redirects" do
let(:namespace1) { create(:namespace, path: 'foo') } let(:namespace1) { create(:namespace, path: 'foo') }
......
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