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:
authorMicaël Bergeron <mbergeron@gitlab.com>2018-02-28 20:21:40 +0300
committerMicaël Bergeron <mbergeron@gitlab.com>2018-03-01 18:40:40 +0300
commit508938873cb00b8eed53d6aacdd0e0940d8425d9 (patch)
tree1812200376a55f78ada583802f06dd9dd76d48fc /spec/models/lfs_object_spec.rb
parentd59210de58dc8a377130cfdd3fc3197a4ca7bb1d (diff)
remove the license check
Diffstat (limited to 'spec/models/lfs_object_spec.rb')
-rw-r--r--spec/models/lfs_object_spec.rb25
1 files changed, 0 insertions, 25 deletions
diff --git a/spec/models/lfs_object_spec.rb b/spec/models/lfs_object_spec.rb
index 87f4daab9be..a182116d637 100644
--- a/spec/models/lfs_object_spec.rb
+++ b/spec/models/lfs_object_spec.rb
@@ -21,19 +21,6 @@ describe LfsObject do
end
end
- describe '#destroy' do
- subject { create(:lfs_object, :with_file) }
-
- context 'when running in a Geo primary node' do
- set(:primary) { create(:geo_node, :primary) }
- set(:secondary) { create(:geo_node) }
-
- it 'logs an event to the Geo event log' do
- expect { subject.destroy }.to change(Geo::LfsObjectDeletedEvent, :count).by(1)
- end
- end
- end
-
describe '#schedule_background_upload' do
before do
stub_lfs_setting(enabled: true)
@@ -80,18 +67,6 @@ describe LfsObject do
lfs_object.save!
end
end
-
- context 'when is unlicensed' do
- before do
- stub_lfs_object_storage(background_upload: true, licensed: false)
- end
-
- it 'does not schedule the migration' do
- expect(ObjectStorage::BackgroundMoveWorker).not_to receive(:perform_async)
-
- subject
- end
- end
end
context 'when background upload is disabled' do