summaryrefslogtreecommitdiff
path: root/spec/uploaders
diff options
context:
space:
mode:
authorMicaël Bergeron <mbergeron@gitlab.com>2018-02-22 10:46:13 -0500
committerMicaël Bergeron <mbergeron@gitlab.com>2018-03-01 10:36:56 -0500
commit5cf1cc6a0fe1a60cf51bc44535df8cc17d10b3a0 (patch)
treeaffb51535b5184d4bc04ccd70dedfc89ee83904f /spec/uploaders
parent50c08d0eda6a1863e025b09c20dc2e4a38754ff4 (diff)
downloadgitlab-ce-5cf1cc6a0fe1a60cf51bc44535df8cc17d10b3a0.tar.gz
remove the license check
Diffstat (limited to 'spec/uploaders')
-rw-r--r--spec/uploaders/lfs_object_uploader_spec.rb22
1 files changed, 0 insertions, 22 deletions
diff --git a/spec/uploaders/lfs_object_uploader_spec.rb b/spec/uploaders/lfs_object_uploader_spec.rb
index fbb4a188646..a2fb3886610 100644
--- a/spec/uploaders/lfs_object_uploader_spec.rb
+++ b/spec/uploaders/lfs_object_uploader_spec.rb
@@ -43,18 +43,6 @@ describe LfsObjectUploader do
lfs_object
end
end
-
- context 'with object storage unlicenced' do
- before do
- stub_lfs_object_storage(licensed: false)
- end
-
- it 'is skipped' do
- expect(ObjectStorage::BackgroundMoveWorker).not_to receive(:perform_async)
-
- lfs_object
- end
- end
end
describe 'remote file' do
@@ -75,16 +63,6 @@ describe LfsObjectUploader do
expect(lfs_object.file.path).not_to be_blank
end
end
-
- context 'with object storage unlicenced' do
- before do
- stub_lfs_object_storage(licensed: false)
- end
-
- it 'can not store file remotely' do
- expect { store_file(lfs_object) }.to raise_error('Object Storage feature is missing')
- end
- end
end
def store_file(lfs_object)