diff options
author | Evan Read <eread@gitlab.com> | 2020-12-22 02:42:47 +0300 |
---|---|---|
committer | Evan Read <eread@gitlab.com> | 2020-12-22 02:42:47 +0300 |
commit | 36a0020a05042066ffc400b02c5c57167fd9ffcb (patch) | |
tree | 4dd639d59b739c8df5e34f28dfaa5d45ec771e5a /spec | |
parent | 42b205fb5487578dc3daa1cfcb6b46a5ef27a738 (diff) |
Fix several minor Rubocop issues
Diffstat (limited to 'spec')
-rw-r--r-- | spec/gitlab/content_spec.rb | 2 |
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 } |