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
3970e19f
Commit
3970e19f
authored
May 15, 2020
by
Sean Arnold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update ee/spec/services with correct time parsing
parent
6a88a222
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ee/spec/services/ee/audit_events/bulk_insert_service_spec.rb
ee/spec/services/ee/audit_events/bulk_insert_service_spec.rb
+1
-1
ee/spec/services/ee/audit_events/repository_push_audit_event_service_spec.rb
.../audit_events/repository_push_audit_event_service_spec.rb
+1
-1
No files found.
ee/spec/services/ee/audit_events/bulk_insert_service_spec.rb
View file @
3970e19f
...
...
@@ -14,7 +14,7 @@ describe EE::AuditEvents::BulkInsertService do
EE
::
AuditEvents
::
RepositoryPushAuditEventService
.
new
(
user
,
entity
,
target_ref
,
from
,
to
)
end
end
let
(
:timestamp
)
{
Time
.
new
(
2019
,
10
,
10
)
}
let
(
:timestamp
)
{
Time
.
new
.
in_time_zone
(
2019
,
10
,
10
)
}
let
(
:attrs
)
do
{
author_id:
user
.
id
,
...
...
ee/spec/services/ee/audit_events/repository_push_audit_event_service_spec.rb
View file @
3970e19f
...
...
@@ -12,7 +12,7 @@ describe EE::AuditEvents::RepositoryPushAuditEventService do
let
(
:service
)
{
described_class
.
new
(
user
,
entity
,
target_ref
,
from
,
to
)
}
describe
'#attributes'
do
let
(
:timestamp
)
{
Time
.
new
(
2019
,
10
,
10
)
}
let
(
:timestamp
)
{
Time
.
new
.
in_time_zone
(
2019
,
10
,
10
)
}
let
(
:attrs
)
do
{
author_id:
user
.
id
,
...
...
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