summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author(no author) <(no author)@980ebf18-57e1-0310-9a29-db15c13687c0>2007-08-09 08:49:49 +0000
committer(no author) <(no author)@980ebf18-57e1-0310-9a29-db15c13687c0>2007-08-09 08:49:49 +0000
commit13f358d92e0673cd361989e0db28bbdda3e3c8ae (patch)
tree022c4f9b4a2d76f85037ed79fb4c3e556e9c0cbf
parent3de4829cf0b607624b8a5f5f1e6055141d85af2f (diff)
downloadpuppet-13f358d92e0673cd361989e0db28bbdda3e3c8ae.tar.gz
puppet-13f358d92e0673cd361989e0db28bbdda3e3c8ae.tar.xz
puppet-13f358d92e0673cd361989e0db28bbdda3e3c8ae.zip
Highlight what I think is a problem in the test suite that I just can't solve
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2760 980ebf18-57e1-0310-9a29-db15c13687c0
-rwxr-xr-xtest/ral/types/service.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/ral/types/service.rb b/test/ral/types/service.rb
index e682709ac..9e207bca1 100755
--- a/test/ral/types/service.rb
+++ b/test/ral/types/service.rb
@@ -13,6 +13,9 @@ class TestServiceType < Test::Unit::TestCase
service = Puppet::Type.type(:service).create :name => "testing",
:ensure => :running, :provider => :base
+ assert_equal :running, service.instance_eval('@parameters[:ensure]').should
+ assert_not_equal :running, service.instance_eval('@parameters[:ensure]').retrieve
+
# First make sure it does not refresh
service.provider.expects(:restart).never