mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-19 09:36:47 +10:00
Merge branch 'master' of github.com:gitlabhq/gitlabhq
This commit is contained in:
@@ -411,7 +411,7 @@ module SharedPaths
|
||||
end
|
||||
|
||||
def project
|
||||
project = Project.find_by!(name: "Shop")
|
||||
Project.find_by!(name: 'Shop')
|
||||
end
|
||||
|
||||
# ----------------------------------------
|
||||
|
||||
@@ -47,16 +47,6 @@ FactoryGirl.define do
|
||||
end
|
||||
end
|
||||
|
||||
# Generates a test repository from the repository stored under `spec/seed_project.tar.gz`.
|
||||
# Once you run `rake gitlab:setup`, you can see what the repository looks like under `tmp/repositories/gitlabhq`.
|
||||
# In order to modify files in the repository, you must untar the seed, modify and remake the tar.
|
||||
# Before recompressing, do not forget to `git checkout master`.
|
||||
# After recompressing, you need to run `RAILS_ENV=test bundle exec rake gitlab:setup` to regenerate the seeds under tmp.
|
||||
#
|
||||
# If you want to modify the repository only for an specific type of tests, e.g., markdown tests,
|
||||
# consider using a feature branch to reduce the chances of collision with other tests.
|
||||
# Create a new commit, and use the same commit message that you will use for the change in the main repo.
|
||||
# Changing the commig message and SHA of branch `master` may break tests.
|
||||
factory :project, parent: :empty_project do
|
||||
path { 'gitlabhq' }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user