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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
ca29aa11
Commit
ca29aa11
authored
May 03, 2018
by
Toon Claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Project#repository_storage_path no longer exists
parent
3066de95
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
spec/workers/repository_check/single_repository_worker_spec.rb
...workers/repository_check/single_repository_worker_spec.rb
+4
-4
No files found.
spec/workers/repository_check/single_repository_worker_spec.rb
View file @
ca29aa11
...
...
@@ -61,7 +61,7 @@ describe RepositoryCheck::SingleRepositoryWorker do
it
'creates missing wikis'
do
project
=
create
(
:project
,
:wiki_enabled
)
Gitlab
::
Shell
.
new
.
rm_directory
(
project
.
repository_storage
_path
,
project
.
wiki
.
path
)
Gitlab
::
Shell
.
new
.
rm_directory
(
project
.
repository_storage
,
project
.
wiki
.
path
)
subject
.
perform
(
project
.
id
)
...
...
@@ -70,12 +70,12 @@ describe RepositoryCheck::SingleRepositoryWorker do
it
'does not create a wiki if the main repo does not exist at all'
do
project
=
create
(
:project
,
:repository
)
Gitlab
::
Shell
.
new
.
rm_directory
(
project
.
repository_storage
_path
,
project
.
path
)
Gitlab
::
Shell
.
new
.
rm_directory
(
project
.
repository_storage
_path
,
project
.
wiki
.
path
)
Gitlab
::
Shell
.
new
.
rm_directory
(
project
.
repository_storage
,
project
.
path
)
Gitlab
::
Shell
.
new
.
rm_directory
(
project
.
repository_storage
,
project
.
wiki
.
path
)
subject
.
perform
(
project
.
id
)
expect
(
Gitlab
::
Shell
.
new
.
exists?
(
project
.
repository_storage
_path
,
project
.
wiki
.
path
)).
to
eq
(
false
)
expect
(
Gitlab
::
Shell
.
new
.
exists?
(
project
.
repository_storage
,
project
.
wiki
.
path
)).
to
eq
(
false
)
end
def
break_wiki
(
project
)
...
...
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