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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-11-16 21:07:32 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-11-16 21:07:32 +0300
commit6ba7c824e92d68c6ae25f64bda5ab213ad9c9a58 (patch)
tree72b28f0f5222162a67a1919ff25beff4c2cabc2d /spec/uploaders
parentacee9d6fb529ca8fb91b2b07bd49bd207df23c51 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/uploaders')
-rw-r--r--spec/uploaders/gitlab_uploader_spec.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/uploaders/gitlab_uploader_spec.rb b/spec/uploaders/gitlab_uploader_spec.rb
index bd86f1fe08a..df32bc98392 100644
--- a/spec/uploaders/gitlab_uploader_spec.rb
+++ b/spec/uploaders/gitlab_uploader_spec.rb
@@ -56,6 +56,12 @@ RSpec.describe GitlabUploader, feature_category: :shared do
end
end
+ describe '#empty_size?' do
+ it 'is true' do
+ expect(subject.empty_size?).to eq(true)
+ end
+ end
+
describe '#cache!' do
it 'moves the file from the working directory to the cache directory' do
# One to get the work dir, the other to remove it