Skip to content

Commit

Permalink
Fix valid_imported_values test
Browse files Browse the repository at this point in the history
  • Loading branch information
imobachgs committed Jul 29, 2020
1 parent e846106 commit 51409dd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/AutoInstall_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,14 @@ def self.new_from_hashes(_hash)
describe "#valid_imported_values" do
before(:each) do
subject.issues_list = ::Installation::AutoinstIssues::List.new
allow(Yast::Report).to receive(:Export).and_return(report_settings)
end

let(:report_settings) do
{
"errors" => { "log" => true, "show" => true, "timeout" => 0 },
"warnings" => { "log" => true, "show" => true, "timeout" => 0 }
}
end

context "when no issue has been found" do
Expand Down

0 comments on commit 51409dd

Please sign in to comment.