3
3
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
7
8
describe "Per Interface IP facts" do
12
9
it "should replace the ':' in an interface list with '_'" do
14
11
Facter.fact(:kernel).stubs(:value).returns("SunOS")
17
14
Facter.fact(:interfaces).value.should == %{eth0_1,eth1_2}