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
ef69cea4
Commit
ef69cea4
authored
Jun 27, 2017
by
Douglas Barbosa Alexandre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix small typos on spec for Geo::RepositorySynceService
parent
a30d1d76
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
spec/services/geo/repository_sync_service_spec.rb
spec/services/geo/repository_sync_service_spec.rb
+3
-3
No files found.
spec/services/geo/repository_sync_service_spec.rb
View file @
ef69cea4
...
...
@@ -16,7 +16,7 @@ describe Geo::RepositorySyncService, services: true do
end
describe
'#execute'
do
context
'when project ha
ve
never been synced'
do
context
'when project ha
s
never been synced'
do
let
(
:project
)
{
create
(
:project_empty_repo
)
}
it
'fetches project repositories'
do
...
...
@@ -55,7 +55,7 @@ describe Geo::RepositorySyncService, services: true do
end
context
'tracking database'
do
it
'create a new registry'
do
it
'create
s
a new registry'
do
expect
{
subject
.
execute
}.
to
change
(
Geo
::
ProjectRegistry
,
:count
).
by
(
1
)
end
...
...
@@ -97,7 +97,7 @@ describe Geo::RepositorySyncService, services: true do
end
end
context
'when project ha
ve
been synced'
do
context
'when project ha
s
been synced'
do
let
(
:project
)
{
create
(
:project
)
}
let
(
:last_repository_synced_at
)
{
5
.
days
.
ago
}
let
(
:last_wiki_synced_at
)
{
4
.
days
.
ago
}
...
...
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