Skip to content

Commit

Permalink
fix travis
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Mar 7, 2016
1 parent a2bbd45 commit 02c9153
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 1 addition & 3 deletions src/lib/bootloader/main_dialog.rb
Expand Up @@ -32,9 +32,7 @@ def run_auto
)
# desktop file only in running system and in installation there is no
# visible window title
if !Yast::Stage.initial
Yast::Wizard.SetDesktopTitleAndIcon("bootloader")
end
Yast::Wizard.SetDesktopTitleAndIcon("bootloader") if !Yast::Stage.initial

ret = run_content
Yast::Wizard.CloseDialog
Expand Down
1 change: 1 addition & 0 deletions test/grub2_efi_test.rb
Expand Up @@ -8,6 +8,7 @@
allow(::CFA::Grub2::GrubCfg).to receive(:new).and_return(double("GrubCfg").as_null_object)
allow(Bootloader::Sections).to receive(:new).and_return(double("Sections").as_null_object)
allow(Yast::BootStorage).to receive(:available_swap_partitions).and_return([])
allow(Bootloader::GrubInstall).to receive(:new).and_return(double.as_null_object)
end

describe "#read" do
Expand Down

0 comments on commit 02c9153

Please sign in to comment.