diff options
Diffstat (limited to 'spec/lib/gitlab/usage_data_spec.rb')
-rw-r--r-- | spec/lib/gitlab/usage_data_spec.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/lib/gitlab/usage_data_spec.rb b/spec/lib/gitlab/usage_data_spec.rb index 4da5f899ea9..4544cb2eb26 100644 --- a/spec/lib/gitlab/usage_data_spec.rb +++ b/spec/lib/gitlab/usage_data_spec.rb @@ -661,6 +661,14 @@ RSpec.describe Gitlab::UsageData, :aggregate_failures, feature_category: :servic end end + describe '.license_usage_data' do + subject { described_class.license_usage_data } + + it 'gathers license data' do + expect(subject[:recorded_at]).to be_a(Time) + end + end + context 'when not relying on database records' do describe '.features_usage_data_ce' do subject { described_class.features_usage_data_ce } |