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
f1120705
Commit
f1120705
authored
Jun 01, 2021
by
Piotr Skorupa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add billable_users metric specs
parent
7c253739
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
ee/spec/lib/ee/gitlab/usage_data_spec.rb
ee/spec/lib/ee/gitlab/usage_data_spec.rb
+2
-0
No files found.
ee/spec/lib/ee/gitlab/usage_data_spec.rb
View file @
f1120705
...
...
@@ -79,6 +79,7 @@ RSpec.describe Gitlab::UsageData do
elasticsearch_enabled
geo_enabled
license_trial_ends_on
license_billable_users
)
)
end
...
...
@@ -180,6 +181,7 @@ RSpec.describe Gitlab::UsageData do
expect
(
subject
[
:license_add_ons
]).
to
eq
(
license
.
add_ons
)
expect
(
subject
[
:license_trial
]).
to
eq
(
license
.
trial?
)
expect
(
subject
[
:license_subscription_id
]).
to
eq
(
license
.
subscription_id
)
expect
(
subject
[
:license_billable_users
]).
to
eq
(
license
.
daily_billable_users_count
)
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