Skip to content

Commit

Permalink
Remove UpdateRepository#remove_update_files
Browse files Browse the repository at this point in the history
  • Loading branch information
imobachgs committed Mar 10, 2021
1 parent 83ba936 commit 9a873df
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions test/update_repository_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -208,17 +208,6 @@
end
end

xdescribe "#remove_update_files" do
let(:update_file) { Pathname.new("yast_001") }

it "removes downloaded files and clear update_files" do
allow(repo).to receive(:update_files).and_return([update_file])
expect(FileUtils).to receive(:rm_f).with(update_file)
expect(repo.update_files).to receive(:clear)
repo.remove_update_files
end
end

describe "#apply" do
let(:squashfs_file) { Pathname("/download/yast_000") }
let(:mount_point) { updates_path.join("yast_0000") }
Expand Down

0 comments on commit 9a873df

Please sign in to comment.