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
040b65f4
Commit
040b65f4
authored
Aug 19, 2018
by
Jasper Maes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rails5: fix mysql milliseconds problem in project registry spec
parent
b8f2f711
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
ee/changelogs/unreleased/rails5-fix-project-registry-spec.yml
...hangelogs/unreleased/rails5-fix-project-registry-spec.yml
+5
-0
ee/spec/models/geo/project_registry_spec.rb
ee/spec/models/geo/project_registry_spec.rb
+2
-2
No files found.
ee/changelogs/unreleased/rails5-fix-project-registry-spec.yml
0 → 100644
View file @
040b65f4
---
title
:
'
Rails5:
fix
mysql
milliseconds
problem
in
project
registry
spec'
merge_request
:
6943
author
:
Jasper Maes
type
:
fixed
ee/spec/models/geo/project_registry_spec.rb
View file @
040b65f4
...
@@ -264,7 +264,7 @@ describe Geo::ProjectRegistry do
...
@@ -264,7 +264,7 @@ describe Geo::ProjectRegistry do
it
'sets last_repository_synced_at to now'
do
it
'sets last_repository_synced_at to now'
do
subject
.
start_sync!
(
type
)
subject
.
start_sync!
(
type
)
expect
(
subject
.
last_repository_synced_at
).
to
eq
(
Time
.
now
)
expect
(
subject
.
last_repository_synced_at
).
to
be_like_time
(
Time
.
now
)
end
end
shared_examples_for
'sets repository_retry_at to a future time'
do
shared_examples_for
'sets repository_retry_at to a future time'
do
...
@@ -320,7 +320,7 @@ describe Geo::ProjectRegistry do
...
@@ -320,7 +320,7 @@ describe Geo::ProjectRegistry do
it
'sets last_wiki_synced_at to now'
do
it
'sets last_wiki_synced_at to now'
do
subject
.
start_sync!
(
type
)
subject
.
start_sync!
(
type
)
expect
(
subject
.
last_wiki_synced_at
).
to
eq
(
Time
.
now
)
expect
(
subject
.
last_wiki_synced_at
).
to
be_like_time
(
Time
.
now
)
end
end
shared_examples_for
'sets wiki_retry_at to a future time'
do
shared_examples_for
'sets wiki_retry_at to a future time'
do
...
...
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