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
67a6ab0f
Commit
67a6ab0f
authored
Aug 03, 2017
by
Douglas Barbosa Alexandre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix small typos on specs
parent
89a8e511
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
spec/workers/geo/file_download_dispatch_worker_spec.rb
spec/workers/geo/file_download_dispatch_worker_spec.rb
+1
-1
spec/workers/geo/repositories_clean_up_worker_spec.rb
spec/workers/geo/repositories_clean_up_worker_spec.rb
+1
-1
No files found.
spec/workers/geo/file_download_dispatch_worker_spec.rb
View file @
67a6ab0f
...
@@ -87,7 +87,7 @@ describe Geo::FileDownloadDispatchWorker do
...
@@ -87,7 +87,7 @@ describe Geo::FileDownloadDispatchWorker do
secondary
.
update_attribute
(
:namespaces
,
[
group_1
])
secondary
.
update_attribute
(
:namespaces
,
[
group_1
])
end
end
it
'does not perform GeoFileDownloadWorker for LFS object that do not belong to selected namespaces to replicate'
do
it
'does not perform GeoFileDownloadWorker for LFS object that do
es
not belong to selected namespaces to replicate'
do
create
(
:lfs_objects_project
,
project:
project_1
)
create
(
:lfs_objects_project
,
project:
project_1
)
create
(
:lfs_objects_project
,
project:
project_2
)
create
(
:lfs_objects_project
,
project:
project_2
)
...
...
spec/workers/geo/repositories_clean_up_worker_spec.rb
View file @
67a6ab0f
...
@@ -12,7 +12,7 @@ describe Geo::RepositoriesCleanUpWorker do
...
@@ -12,7 +12,7 @@ describe Geo::RepositoriesCleanUpWorker do
end
end
context
'when node has namespace restrictions'
do
context
'when node has namespace restrictions'
do
it
'performs GeoRepositoryDestroyWorker for each project that do not belong to selected namespaces to replicate'
do
it
'performs GeoRepositoryDestroyWorker for each project that do
es
not belong to selected namespaces to replicate'
do
geo_node
.
update_attribute
(
:namespaces
,
[
group
])
geo_node
.
update_attribute
(
:namespaces
,
[
group
])
expect
(
GeoRepositoryDestroyWorker
).
to
receive
(
:perform_async
)
expect
(
GeoRepositoryDestroyWorker
).
to
receive
(
:perform_async
)
...
...
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