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
def check_project_moved!
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)
>>>>>>> upstream/master
if project_moved.permanent_redirect?
project_moved.add_redirect_message
else
......
......@@ -684,7 +684,6 @@ describe Namespace do
end
end
<<<<<<< HEAD
describe '#root_ancestor' do
it 'returns the top most ancestor', :nested_groups do
root_group = create(:group)
......@@ -698,8 +697,6 @@ describe Namespace do
end
end
=======
>>>>>>> upstream/master
describe "#allowed_path_by_redirects" do
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