Skip to content

Commit

Permalink
Merge 61159d8 into 1ef42cb
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Sep 17, 2020
2 parents 1ef42cb + 61159d8 commit 44ac48c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/add-on-workflow_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ class AddOnAddOnWorkflowIncludeTest
allow(subject).to receive(:require).with("registration/registration")
end

after do
# reset the changed flag back (for the other tests)
Yast::AddOnAddOnWorkflowInclude.class_variable_set(:@@media_addons_selected, false)
end

context "not registered" do
let(:registered?) { false }

Expand Down
5 changes: 5 additions & 0 deletions test/repositories_include_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,11 @@ def main
allow(Yast::UI).to receive(:UserInput).and_return(:next)
end

after do
# reset the changed flag back (for the other tests)
Yast::AddOnAddOnWorkflowInclude.class_variable_set(:@@media_addons_selected, false)
end

context "a DUD add-on present, using Full medium" do
before do
allow(Yast::AddOnProduct).to receive(:add_on_products).and_return([
Expand Down

0 comments on commit 44ac48c

Please sign in to comment.