Skip to content

Commit

Permalink
not needed Storage.AddPackageList removed
Browse files Browse the repository at this point in the history
  • Loading branch information
schubi2 committed Jan 29, 2018
1 parent 7200deb commit 6bf6438
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/AutoinstSoftware_test.rb
Expand Up @@ -58,9 +58,7 @@
it "shows a popup if some packages have not been found" do
allow(subject).to receive(:autoinstPackages).and_return(["a1"])
expect(Yast::Packages).to receive(:ComputeSystemPackageList).and_return([])
expect(Yast::Storage).to receive(:AddPackageList).and_return(["a2","a3"])
expect(Yast::Pkg).to receive(:DoProvide).with(["a1"]).and_return({"a1" => "not found"})
expect(Yast::Pkg).to receive(:DoProvide).with(["a2","a3"]).and_return({})
expect(Yast::Report).to receive(:Error)
subject.SelectPackagesForInstallation()
end
Expand Down

0 comments on commit 6bf6438

Please sign in to comment.