Skip to content
Snippets Groups Projects
Commit 2290b438 authored by Ahmad Sherif's avatar Ahmad Sherif
Browse files

Fix rubocop offenses introduced in !16623

parent af95ba2f
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -1998,8 +1998,13 @@ describe Gitlab::Git::Repository, seed_helper: true do
let(:project) { create(:project) }
let(:imported_repo) { project.repository.raw }
 
before { expect(repository.bundle_to_disk(bundle_path)).to be true }
after { FileUtils.rm_rf(bundle_path) }
before do
expect(repository.bundle_to_disk(bundle_path)).to be true
end
after do
FileUtils.rm_rf(bundle_path)
end
 
it 'creates a repo from a bundle file' do
expect(imported_repo).not_to exist
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment