Skip to content

Commit

Permalink
Update from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
imobachgs committed Jan 17, 2017
1 parent b989bda commit 608a12d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/lib/inst_download_release_notes_test.rb
Expand Up @@ -36,12 +36,12 @@
allow(Yast::Pkg).to receive(:ResolvableProperties).with("", :product, "")
.and_return([product])

allow(Yast::SCR).to receive(:Execute).and_call_original
allow(Yast::SCR).to receive(:Execute)
.with(Yast::Path.new(".target.bash"), /curl.*relnotes/)
.and_return(curl_code)

allow(Yast::SCR).to receive(:Read).and_call_original
allow(Yast::SCR).to receive(:Read)
.with(Yast::Path.new(".target.tmpdir"))
allow(Yast::SCR).to receive(:Read)
.with(Yast::Path.new(".target.string"), /relnotes/)
.and_return("RELNOTES CONTENT")
Expand Down

0 comments on commit 608a12d

Please sign in to comment.