spec/unit/ipaddress6_spec.rb in facter-1.6.12 vs spec/unit/ipaddress6_spec.rb in facter-1.6.13.rc1

- old
+ new

@@ -23,10 +23,10 @@ Facter.value(:ipaddress6).should == "2610:10:20:209:223:32ff:fed5:ee34" end it "should return ipaddress6 information for Linux" do Facter::Util::Resolution.stubs(:exec).with('uname -s').returns('Linux') - Facter::Util::Resolution.stubs(:exec).with('/sbin/ifconfig'). + Facter::Util::Resolution.stubs(:exec).with('/sbin/ifconfig 2>/dev/null'). returns(ifconfig_fixture('linux_ifconfig_all_with_multiple_interfaces')) Facter.value(:ipaddress6).should == "2610:10:20:209:212:3fff:febe:2201" end