diff options
author | Balasankar C <balasankar@gitlab.com> | 2018-06-07 15:01:20 +0000 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2018-06-07 15:01:20 +0000 |
commit | 9f76632d80b5f1d9a47faa95f537e579b6ac41d6 (patch) | |
tree | c7df57e21350ffe5635bf0e97d4c6b53a1e08589 /spec/lib/gitlab/usage_data_spec.rb | |
parent | 75ee50f85f3e93bbd2583d00656029513beef90a (diff) | |
download | gitlab-ce-9f76632d80b5f1d9a47faa95f537e579b6ac41d6.tar.gz |
Add installation type to usage ping data
Diffstat (limited to 'spec/lib/gitlab/usage_data_spec.rb')
-rw-r--r-- | spec/lib/gitlab/usage_data_spec.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/lib/gitlab/usage_data_spec.rb b/spec/lib/gitlab/usage_data_spec.rb index a716e6f5434..22d921716aa 100644 --- a/spec/lib/gitlab/usage_data_spec.rb +++ b/spec/lib/gitlab/usage_data_spec.rb @@ -32,6 +32,7 @@ describe Gitlab::UsageData do mattermost_enabled edition version + installation_type uuid hostname signup @@ -156,6 +157,7 @@ describe Gitlab::UsageData do it "gathers license data" do expect(subject[:uuid]).to eq(Gitlab::CurrentSettings.uuid) expect(subject[:version]).to eq(Gitlab::VERSION) + expect(subject[:installation_type]).to eq(Gitlab::INSTALLATION_TYPE) expect(subject[:active_user_count]).to eq(User.active.count) expect(subject[:recorded_at]).to be_a(Time) end |