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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
0206c6aa
Commit
0206c6aa
authored
Nov 06, 2018
by
Jasper Maes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rails5: fix mysql milliseconds issue in deployment model specs
parent
173c6ca1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
changelogs/unreleased/rails5-mysql-milliseconds-deployment-spec.yml
.../unreleased/rails5-mysql-milliseconds-deployment-spec.yml
+5
-0
spec/models/deployment_spec.rb
spec/models/deployment_spec.rb
+3
-3
No files found.
changelogs/unreleased/rails5-mysql-milliseconds-deployment-spec.yml
0 → 100644
View file @
0206c6aa
---
title
:
'
Rails5:
fix
mysql
milliseconds
issue
in
deployment
model
specs'
merge_request
:
22850
author
:
Jasper Maes
type
:
other
spec/models/deployment_spec.rb
View file @
0206c6aa
...
@@ -88,7 +88,7 @@ describe Deployment do
...
@@ -88,7 +88,7 @@ describe Deployment do
deployment
.
succeed!
deployment
.
succeed!
expect
(
deployment
).
to
be_success
expect
(
deployment
).
to
be_success
expect
(
deployment
.
finished_at
).
to
eq
(
Time
.
now
)
expect
(
deployment
.
finished_at
).
to
be_like_time
(
Time
.
now
)
end
end
end
end
...
@@ -108,7 +108,7 @@ describe Deployment do
...
@@ -108,7 +108,7 @@ describe Deployment do
deployment
.
drop!
deployment
.
drop!
expect
(
deployment
).
to
be_failed
expect
(
deployment
).
to
be_failed
expect
(
deployment
.
finished_at
).
to
eq
(
Time
.
now
)
expect
(
deployment
.
finished_at
).
to
be_like_time
(
Time
.
now
)
end
end
end
end
end
end
...
@@ -121,7 +121,7 @@ describe Deployment do
...
@@ -121,7 +121,7 @@ describe Deployment do
deployment
.
cancel!
deployment
.
cancel!
expect
(
deployment
).
to
be_canceled
expect
(
deployment
).
to
be_canceled
expect
(
deployment
.
finished_at
).
to
eq
(
Time
.
now
)
expect
(
deployment
.
finished_at
).
to
be_like_time
(
Time
.
now
)
end
end
end
end
end
end
...
...
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