Skip to content
Permalink
Browse files

small mock fix

  • Loading branch information...
teclator committed Oct 4, 2017
1 parent d44f66e commit d1a2a076bebfe3f828fd9c531c7910806ad5d477
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/lan_test.rb
@@ -330,8 +330,8 @@ def expect_modification_succeedes(modname, method)
end

context "there is no interfaces in the system" do
let(:items) { {} }
it "returns an empty array" do
allow(Yast::LanItems).to receive(:Items).and_return({})
expect(Yast::Lan.IfcfgsToSkipVirtualizedProposal).to eql([])
end
end

0 comments on commit d1a2a07

Please sign in to comment.
You can’t perform that action at this time.