Skip to content

Commit

Permalink
Happy rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
mchf committed May 18, 2016
1 parent 08f0ca7 commit 81dfb8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion library/network/src/modules/NetworkInterfaces.rb
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,6 @@ def CanonicalizeIP(ifcfg)
ifcfg
end


# Filters out INTERFACETYPE option from ifcfg config when it is not needed.
#
# INTERFACETYPE has big impact on wicked even yast behavior. It was overused
Expand Down
4 changes: 2 additions & 2 deletions library/network/test/network_interfaces_helpers_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ module Yast
end

it "keeps interface type if present and is set to \"lo\" or \"dummy\"" do
expect(NetworkInterfaces.filter_interfacetype({ "INTERFACETYPE" => "lo" })).to include "INTERFACETYPE"
expect(NetworkInterfaces.filter_interfacetype({ "INTERFACETYPE" => "dummy" })).to include "INTERFACETYPE"
expect(NetworkInterfaces.filter_interfacetype("INTERFACETYPE" => "lo")).to include "INTERFACETYPE"
expect(NetworkInterfaces.filter_interfacetype("INTERFACETYPE" => "dummy")).to include "INTERFACETYPE"
end
end
end
Expand Down

0 comments on commit 81dfb8d

Please sign in to comment.