spec/unit/architecture_spec.rb in facter-1.6.18 vs spec/unit/architecture_spec.rb in facter-1.7.0.rc1
- old
+ new
@@ -30,10 +30,10 @@
"i486" => "i386",
"i586" => "i386",
"i686" => "i386",
"pentium" => "i386",
}
-
+
os_archs.each do |pair, result|
it "should be #{result} if os is #{pair[0]} and hardwaremodel is #{pair[1]}" do
Facter.fact(:operatingsystem).stubs(:value).returns(pair[0])
Facter.fact(:hardwaremodel).stubs(:value).returns(pair[1])