diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-10-03 14:12:40 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-10-03 14:12:40 +0300 |
commit | 8188427e83f55df1f9750786c2a457976d4ebca7 (patch) | |
tree | 2ef8f0e9fb11e946a7df4a43bbd002cb8daae38b | |
parent | 5709e8d76c6f1d2dd4fb25c2fc9f3799e33652a0 (diff) | |
parent | 91e346eb3339dc002148490189f512b7c3c4fa15 (diff) | |
download | gitlab-ce-8188427e83f55df1f9750786c2a457976d4ebca7.tar.gz |
Merge branch 'master' of github.com:gitlabhq/gitlabhq
-rw-r--r-- | features/steps/shared/paths.rb | 2 | ||||
-rw-r--r-- | spec/factories/projects.rb | 10 |
2 files changed, 1 insertions, 11 deletions
diff --git a/features/steps/shared/paths.rb b/features/steps/shared/paths.rb index babbef33ec4..141ff13b67d 100644 --- a/features/steps/shared/paths.rb +++ b/features/steps/shared/paths.rb @@ -411,7 +411,7 @@ module SharedPaths end def project - project = Project.find_by!(name: "Shop") + Project.find_by!(name: 'Shop') end # ---------------------------------------- diff --git a/spec/factories/projects.rb b/spec/factories/projects.rb index 5324654c48c..23314b3b1a4 100644 --- a/spec/factories/projects.rb +++ b/spec/factories/projects.rb @@ -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' } |