diff options
Diffstat (limited to 'spec/workers/gitlab/bitbucket_import/import_lfs_object_worker_spec.rb')
-rw-r--r-- | spec/workers/gitlab/bitbucket_import/import_lfs_object_worker_spec.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/spec/workers/gitlab/bitbucket_import/import_lfs_object_worker_spec.rb b/spec/workers/gitlab/bitbucket_import/import_lfs_object_worker_spec.rb new file mode 100644 index 00000000000..6c9d084a639 --- /dev/null +++ b/spec/workers/gitlab/bitbucket_import/import_lfs_object_worker_spec.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +require 'spec_helper' + +RSpec.describe Gitlab::BitbucketImport::ImportLfsObjectWorker, feature_category: :importers do + subject(:worker) { described_class.new } + + it_behaves_like Gitlab::BitbucketImport::ObjectImporter do + before do + # Stub the LfsDownloadObject for these tests so it can be passed an empty Hash + allow(LfsDownloadObject).to receive(:new) + end + end +end |