Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
8188427e
Commit
8188427e
authored
Oct 03, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:gitlabhq/gitlabhq
parents
5709e8d7
91e346eb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
11 deletions
+1
-11
features/steps/shared/paths.rb
features/steps/shared/paths.rb
+1
-1
spec/factories/projects.rb
spec/factories/projects.rb
+0
-10
No files found.
features/steps/shared/paths.rb
View file @
8188427e
...
@@ -411,7 +411,7 @@ module SharedPaths
...
@@ -411,7 +411,7 @@ module SharedPaths
end
end
def
project
def
project
project
=
Project
.
find_by!
(
name:
"Shop"
)
Project
.
find_by!
(
name:
'Shop'
)
end
end
# ----------------------------------------
# ----------------------------------------
...
...
spec/factories/projects.rb
View file @
8188427e
...
@@ -47,16 +47,6 @@ FactoryGirl.define do
...
@@ -47,16 +47,6 @@ FactoryGirl.define do
end
end
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
factory
:project
,
parent: :empty_project
do
path
{
'gitlabhq'
}
path
{
'gitlabhq'
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment