[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, upstream, updated. 0.25.5-639-g8f94f35
Jesse Wolfe
jes5199 at gmail.com
Wed Jul 14 10:29:59 UTC 2010
The following commit has been merged in the upstream branch:
commit af9c19ab7fa61cc4ed423d69f76bdce5b469d237
Author: Jesse Wolfe <jes5199 at gmail.com>
Date: Mon Mar 22 15:58:06 2010 -0700
Bug #3406 augeas spec fails if there is not a default provider
So I stubbed out the default provider.
Signed-off-by: Jesse Wolfe <jes5199 at gmail.com>
diff --git a/spec/unit/type/augeas.rb b/spec/unit/type/augeas.rb
index 2c1b044..b71f55f 100644
--- a/spec/unit/type/augeas.rb
+++ b/spec/unit/type/augeas.rb
@@ -114,6 +114,8 @@ describe augeas do
end
it "should set the context when a specific file is used" do
+ fake_provider = stub_everything "fake_provider"
+ augeas.stubs(:defaultprovider).returns fake_provider
augeas.new(:name => :no_incl, :lens => "Hosts.lns", :incl => "/etc/hosts")[:context].should == "/files/etc/hosts"
end
end
--
Puppet packaging for Debian
More information about the Pkg-puppet-devel
mailing list