Skip to content

Commit

Permalink
Merge pull request #678 from joseivanlopez/fix_tests
Browse files Browse the repository at this point in the history
Fix tests
  • Loading branch information
joseivanlopez committed Apr 3, 2018
2 parents 3853557 + 4b70ade commit f07959c
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
6 changes: 6 additions & 0 deletions package/yast2-installation.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Apr 3 10:54:42 UTC 2018 - jlopez@suse.com

- Fix tests to use correct storage instance (part of fate#318196).
- 4.0.43

-------------------------------------------------------------------
Fri Mar 23 09:57:56 UTC 2018 - mvidner@suse.com

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-installation.spec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#

Name: yast2-installation
Version: 4.0.42
Version: 4.0.43
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build
Expand Down
2 changes: 2 additions & 0 deletions test/inst_disks_activate_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
let(:s390) { false }

before do
Y2Storage::StorageManager.create_test_instance

allow(Yast::Linuxrc).to receive(:InstallInf).with("WithFCoE").and_return("0")
allow(Yast::UI).to receive(:OpenDialog)
allow(Yast::UI).to receive(:CloseDialog)
Expand Down
4 changes: 4 additions & 0 deletions test/lib/clients/umount_finish_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
require "installation/clients/umount_finish"

describe Yast::UmountFinishClient do
before do
Y2Storage::StorageManager.create_test_instance
end

subject(:client) { described_class.new }

DEFAULT_SUBVOLUME = "@/.snapshots/1/snapshot".freeze
Expand Down

0 comments on commit f07959c

Please sign in to comment.