summaryrefslogtreecommitdiffstats
path: root/spec/unit/ral
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2007-11-28 18:59:21 -0600
committerLuke Kanies <luke@madstop.com>2007-11-28 18:59:21 -0600
commit75647ee25f7dff39555becaa879edd1e391ac7d9 (patch)
treef44c3e2daaa18fad2ef28cb781b03facd5da542f /spec/unit/ral
parent811fefa569d4ac960598dc06ffacec0c4e60832c (diff)
downloadpuppet-75647ee25f7dff39555becaa879edd1e391ac7d9.tar.gz
puppet-75647ee25f7dff39555becaa879edd1e391ac7d9.tar.xz
puppet-75647ee25f7dff39555becaa879edd1e391ac7d9.zip
Fixing a couple of tests that were failing on a different platform or with a different version of ruby
Diffstat (limited to 'spec/unit/ral')
-rwxr-xr-xspec/unit/ral/types/service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/ral/types/service.rb b/spec/unit/ral/types/service.rb
index ee3d747a8..981d38a15 100755
--- a/spec/unit/ral/types/service.rb
+++ b/spec/unit/ral/types/service.rb
@@ -206,7 +206,7 @@ describe Puppet::Type::Service, "when changing the host" do
@service.property(:enable).expects(:insync?).returns(false)
@service.property(:enable).expects(:sync)
- @provider.stubs(:stop)
+ @service.provider.stubs(:stop)
@service.property(:ensure).sync
end