summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-02-29 13:22:55 -0600
committerLuke Kanies <luke@madstop.com>2008-02-29 13:22:55 -0600
commita7339ec5f6691d25b24cc883301ca441072b3156 (patch)
tree20b7bfd7978ae2e85a361f828b81e41c64ed560a /test
parent65b72676aef2d58314f546eb31780d1b9925b9b3 (diff)
downloadpuppet-a7339ec5f6691d25b24cc883301ca441072b3156.tar.gz
puppet-a7339ec5f6691d25b24cc883301ca441072b3156.tar.xz
puppet-a7339ec5f6691d25b24cc883301ca441072b3156.zip
Fixing a few tests
Diffstat (limited to 'test')
-rwxr-xr-xtest/ral/type/file.rb6
-rwxr-xr-xtest/ral/type/tidy.rb1
2 files changed, 1 insertions, 6 deletions
diff --git a/test/ral/type/file.rb b/test/ral/type/file.rb
index cbbe818ae..5cf989aa3 100755
--- a/test/ral/type/file.rb
+++ b/test/ral/type/file.rb
@@ -185,12 +185,6 @@ class TestFile < Test::Unit::TestCase
initgroup = File.stat(file).gid
obj[:group] = group.name
- assert_events([:file_changed], obj)
- assert_equal(initgroup, File.stat(file).gid)
- assert_equal(group.gid, File.lstat(link).gid)
- File.chown(nil, initgroup, file)
- File.lchown(nil, initgroup, link)
-
obj[:links] = :follow
assert_events([:file_changed], obj)
assert_equal(group.gid, File.stat(file).gid)
diff --git a/test/ral/type/tidy.rb b/test/ral/type/tidy.rb
index 60fad6516..17f98df22 100755
--- a/test/ral/type/tidy.rb
+++ b/test/ral/type/tidy.rb
@@ -4,6 +4,7 @@ require File.dirname(__FILE__) + '/../../lib/puppettest'
require 'puppettest'
require 'puppettest/support/utils'
+require 'puppet/type/tidy'
class TestTidy < Test::Unit::TestCase
include PuppetTest::Support::Utils