Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorEvan Read <eread@gitlab.com>2020-12-22 02:42:47 +0300
committerEvan Read <eread@gitlab.com>2020-12-22 02:42:47 +0300
commit36a0020a05042066ffc400b02c5c57167fd9ffcb (patch)
tree4dd639d59b739c8df5e34f28dfaa5d45ec771e5a /spec
parent42b205fb5487578dc3daa1cfcb6b46a5ef27a738 (diff)
Fix several minor Rubocop issues
Diffstat (limited to 'spec')
-rw-r--r--spec/gitlab/content_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/gitlab/content_spec.rb b/spec/gitlab/content_spec.rb
index bfa35ab8..e83280e5 100644
--- a/spec/gitlab/content_spec.rb
+++ b/spec/gitlab/content_spec.rb
@@ -4,7 +4,7 @@ require 'spec_helper'
describe 'Content directory size' do
subject { Dir.glob('content/**/*').sum { |f| File.size(f) } }
- let(:megabyte) { 1024 ** 2 }
+ let(:megabyte) { 1024**2 }
# This limit can be increased after checking that Omnibus package build does not fail
let(:maximum_size) { 2 * megabyte }