[Pkg-puppet-devel] [facter] 83/180: (fact-233) Fix spec test to match updated confines
Stig Sandbeck Mathisen
ssm at debian.org
Mon Jun 30 15:06:33 UTC 2014
This is an automated email from the git hooks/post-receive script.
ssm pushed a commit to branch master
in repository facter.
commit d598f92bac7681097c541d6e81c95cc92e10d85f
Author: Kylo Ginsberg <kylo at puppetlabs.com>
Date: Thu May 8 23:09:29 2014 -0700
(fact-233) Fix spec test to match updated confines
---
spec/unit/dhcp_servers_spec.rb | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/spec/unit/dhcp_servers_spec.rb b/spec/unit/dhcp_servers_spec.rb
index abda8d0..f77f9b1 100644
--- a/spec/unit/dhcp_servers_spec.rb
+++ b/spec/unit/dhcp_servers_spec.rb
@@ -3,7 +3,8 @@ require 'spec_helper'
describe "DHCP server facts" do
describe "on Linux OS's" do
before :each do
- Facter.fact(:kernel).stubs(:value).returns 'Linux'
+ Facter.fact(:operatingsystem).stubs(:value).returns 'Fedora'
+ Facter.fact(:operatingsystemrelease).stubs(:value).returns '19'
Facter::Core::Execution.stubs(:exec).with("route -n").returns(my_fixture_read("route"))
end
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-puppet/facter.git
More information about the Pkg-puppet-devel
mailing list