[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, master, updated. debian/0.24.6-1-356-g5718585
Luke Kanies
luke at madstop.com
Fri Jan 23 14:21:22 UTC 2009
The following commit has been merged in the master branch:
commit 952ebb8bfaad10490ff15d70b4f69f3c0a52e481
Author: Luke Kanies <luke at madstop.com>
Date: Wed Oct 8 22:05:43 2008 -0500
Fixing a test that was failing because of the change to retrieve() in ee579641
Signed-off-by: Luke Kanies <luke at madstop.com>
diff --git a/test/ral/type/mailalias.rb b/test/ral/type/mailalias.rb
index ff1dd56..6370223 100755
--- a/test/ral/type/mailalias.rb
+++ b/test/ral/type/mailalias.rb
@@ -34,12 +34,11 @@ class TestMailAlias < Test::Unit::TestCase
# This isn't much of a test, but then, it's not much of a type.
def test_recipient_arrays
resource = @type.create(:name => "luke", :recipient => "yay", :target => tempfile)
- resource.provider.expects(:recipient).returns([:absent])
values = nil
assert_nothing_raised("Could not retrieve mailalias") do
values = resource.retrieve.inject({}) { |hash, a| hash[a[0].name] = a[1]; hash }
end
- assert_equal([:absent], values[:recipient])
+ assert_equal(:absent, values[:recipient])
resource.property(:recipient).expects(:set).with(%w{yay})
assert_nothing_raised("Could not sync mailalias") do
resource.property(:recipient).sync
--
Puppet packaging for Debian
More information about the Pkg-puppet-devel
mailing list