Commit d90f9c52 authored by Nick Thomas's avatar Nick Thomas

Fix merge conflicts

parent 811c0255
......@@ -220,52 +220,7 @@ FactoryGirl.define do
broken_repo
end
<<<<<<< HEAD
# Project with test repository
#
# Test repository source can be found at
# https://gitlab.com/gitlab-org/gitlab-test
factory :project, parent: :empty_project do
path { 'gitlabhq' }
test_repo
transient do
create_template nil
end
after :create do |project, evaluator|
if evaluator.create_template
args = evaluator.create_template
project.add_user(args[:user], args[:access])
project.repository.create_file(
args[:user],
".gitlab/#{args[:path]}/bug.md",
'something valid',
message: 'test 3',
branch_name: 'master')
project.repository.create_file(
args[:user],
".gitlab/#{args[:path]}/template_test.md",
'template_test',
message: 'test 1',
branch_name: 'master')
project.repository.create_file(
args[:user],
".gitlab/#{args[:path]}/feature_proposal.md",
'feature_proposal',
message: 'test 2',
branch_name: 'master')
end
end
end
factory :forked_project_with_submodules, parent: :empty_project do
=======
factory :forked_project_with_submodules, parent: :project do
>>>>>>> upstream/master
path { 'forked-gitlabhq' }
after :create do |project|
......
......@@ -589,13 +589,8 @@ describe API::Groups do
end
describe "POST /groups/:id/projects/:project_id" do
<<<<<<< HEAD
let(:project) { create(:empty_project) }
let(:project_path) { CGI.escape(project.full_path) }
=======
let(:project) { create(:project) }
let(:project_path) { project.full_path.gsub('/', '%2F') }
>>>>>>> upstream/master
before(:each) do
allow_any_instance_of(Projects::TransferService)
......
......@@ -649,13 +649,8 @@ describe API::V3::Groups do
end
describe "POST /groups/:id/projects/:project_id" do
<<<<<<< HEAD
let(:project) { create(:empty_project) }
let(:project_path) { CGI.escape(project.full_path) }
=======
let(:project) { create(:project) }
let(:project_path) { "#{project.namespace.path}%2F#{project.path}" }
>>>>>>> upstream/master
before(:each) do
allow_any_instance_of(Projects::TransferService)
......
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