From 37e9ada0ae27d675d199265149a3a78f67ebeeba Mon Sep 17 00:00:00 2001 From: Darby Frey Date: Thu, 7 Feb 2019 13:33:26 -0600 Subject: code formatting --- spec/lib/gitlab/usage_data_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/lib/gitlab/usage_data_spec.rb b/spec/lib/gitlab/usage_data_spec.rb index 715ee4afb28..a009c62ecb4 100644 --- a/spec/lib/gitlab/usage_data_spec.rb +++ b/spec/lib/gitlab/usage_data_spec.rb @@ -248,8 +248,8 @@ describe Gitlab::UsageData do end describe '#deployed_pages_projects' do - let(:pipeline1){ create(:ci_pipeline) } - let(:pipeline2){ create(:ci_pipeline) } + let(:pipeline1) { create(:ci_pipeline) } + let(:pipeline2) { create(:ci_pipeline) } it 'excludes builds that are not of name pages:deploy' do create(:ci_build, name: 'pages:deploy', pipeline: pipeline1) @@ -259,7 +259,7 @@ describe Gitlab::UsageData do expect(count_data[:deployed_pages_projects]).to be(1) end - + it 'returns the distinct count when multiple builds exist for the same project' do create(:ci_build, name: 'pages:deploy', pipeline: pipeline1) create(:ci_build, name: 'pages:deploy', pipeline: pipeline1) -- cgit v1.2.1