Skip to content

Commit

Permalink
Mock Yast::Language.language call
Browse files Browse the repository at this point in the history
  • Loading branch information
teclator committed Jan 31, 2017
1 parent 69ae383 commit ffbe080
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/inst_casp_overview_test.rb
Expand Up @@ -65,6 +65,7 @@ def label
allow(Yast::Wizard).to receive(:CloseDialog)
allow(Yast::Pkg).to receive(:SetPackageLocale)
allow(Yast::CWM).to receive(:show).and_return(:next)
allow(Yast::Language).to receive(:language).and_return("en_US")
allow(Yast::WFM).to receive(:CallFunction).and_return({})
allow(Yast::WFM).to receive(:CallFunction)
.with("inst_doit", []).and_return(:next)
Expand Down

0 comments on commit ffbe080

Please sign in to comment.