diff options
Diffstat (limited to 'spec/lib/gitlab/import_export/lfs_restorer_spec.rb')
-rw-r--r-- | spec/lib/gitlab/import_export/lfs_restorer_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/gitlab/import_export/lfs_restorer_spec.rb b/spec/lib/gitlab/import_export/lfs_restorer_spec.rb index c8887b0ded1..fe064c50b9e 100644 --- a/spec/lib/gitlab/import_export/lfs_restorer_spec.rb +++ b/spec/lib/gitlab/import_export/lfs_restorer_spec.rb @@ -36,7 +36,7 @@ RSpec.describe Gitlab::ImportExport::LfsRestorer do ) end - saver.save + saver.save # rubocop:disable Rails/SaveBang project.lfs_objects.delete_all end @@ -81,7 +81,7 @@ RSpec.describe Gitlab::ImportExport::LfsRestorer do context 'when there is not an existing `LfsObject`' do before do - lfs_object.destroy + lfs_object.destroy! end it 'creates a new lfs object' do |