[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, master, updated. debian/0.24.6-1-356-g5718585
James Turnbull
james at lovedthanlost.net
Fri Jan 23 14:21:19 UTC 2009
The following commit has been merged in the master branch:
commit a3f34f94420a2e14716aaffcc0aa112803895e46
Author: Sean E. Millichamp <sean at bruenor.org>
Date: Tue Oct 7 15:00:49 2008 -0400
Removal of redundant lines from unit test
diff --git a/spec/unit/provider/selboolean.rb b/spec/unit/provider/selboolean.rb
index 8fd97a6..95d372e 100755
--- a/spec/unit/provider/selboolean.rb
+++ b/spec/unit/provider/selboolean.rb
@@ -12,13 +12,11 @@ describe provider_class do
end
it "should return :on when getsebool returns on" do
- @resource.stubs(:[]).returns "foo"
@provider.expects(:getsebool).with("foo").returns "foo --> on\n"
@provider.value.should == :on
end
it "should return :off when getsebool returns on" do
- @resource.stubs(:[]).returns "foo"
@provider.expects(:getsebool).with("foo").returns "foo --> off\n"
@provider.value.should == :off
end
@@ -29,7 +27,6 @@ describe provider_class do
end
it "should call execpipe with -P when updating persistent boolean setting" do
- @resource.stubs(:[]).returns "foo"
@resource.stubs(:[]).with(:persistent).returns :true
@provider.expects(:execpipe).with("/usr/sbin/setsebool -P foo off")
@provider.value = :off
--
Puppet packaging for Debian
More information about the Pkg-puppet-devel
mailing list