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
f0f9371b
Commit
f0f9371b
authored
Nov 16, 2017
by
Douglas Barbosa Alexandre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix spec/services/geo/hashed_storage_migration_service_spec.rb
parent
401b9f76
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
spec/services/geo/hashed_storage_migration_service_spec.rb
spec/services/geo/hashed_storage_migration_service_spec.rb
+3
-1
No files found.
spec/services/geo/hashed_storage_migration_service_spec.rb
View file @
f0f9371b
require
'spec_helper'
require
'spec_helper'
describe
Geo
::
HashedStorageMigrationService
do
describe
Geo
::
HashedStorageMigrationService
do
let
(
:project
)
{
create
(
:project
,
:repository
,
:hashed
)
}
let
(
:project
)
{
create
(
:project
,
:repository
)
}
let
(
:old_path
)
{
project
.
full_path
}
let
(
:old_path
)
{
project
.
full_path
}
let
(
:new_path
)
{
"
#{
old_path
}
+renamed"
}
let
(
:new_path
)
{
"
#{
old_path
}
+renamed"
}
...
@@ -38,6 +38,8 @@ describe Geo::HashedStorageMigrationService do
...
@@ -38,6 +38,8 @@ describe Geo::HashedStorageMigrationService do
end
end
it
'does not move project backed by hashed storage'
do
it
'does not move project backed by hashed storage'
do
project
=
create
(
:project
,
:repository
,
:hashed
)
service
=
described_class
.
new
(
service
=
described_class
.
new
(
project
.
id
,
project
.
id
,
old_disk_path:
project
.
full_path
,
old_disk_path:
project
.
full_path
,
...
...
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