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
3e0bcecd
Commit
3e0bcecd
authored
Jul 27, 2021
by
Luis Mejia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add ee/spec for compliance keys
parent
09d41349
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
ee/spec/lib/gitlab/usage_data_metrics_spec.rb
ee/spec/lib/gitlab/usage_data_metrics_spec.rb
+11
-0
No files found.
ee/spec/lib/gitlab/usage_data_metrics_spec.rb
View file @
3e0bcecd
...
...
@@ -21,6 +21,17 @@ RSpec.describe Gitlab::UsageDataMetrics do
expect
(
subject
).
to
include
(
:license_md5
)
expect
(
subject
).
to
include
(
:license_subscription_id
)
end
it
'includes compliance monthly and weekly keys'
do
expect
(
subject
[
:redis_hll_counters
][
:compliance
].
keys
).
to
contain_exactly
(
*
[
:g_compliance_dashboard_monthly
,
:g_compliance_dashboard_weekly
,
:g_compliance_audit_events_monthly
,
:g_compliance_audit_events_weekly
,
:i_compliance_audit_events_monthly
,
:i_compliance_audit_events_weekly
,
:i_compliance_credential_inventory_monthly
,
:i_compliance_credential_inventory_weekly
,
:a_compliance_audit_events_api_monthly
,
:a_compliance_audit_events_api_weekly
,
:compliance_total_unique_counts_monthly
,
:compliance_total_unique_counts_weekly
])
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