summaryrefslogtreecommitdiffstats
path: root/test/ral/type/resources.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ral/type/resources.rb')
-rwxr-xr-xtest/ral/type/resources.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ral/type/resources.rb b/test/ral/type/resources.rb
index 50d6839e7..d6c6c60ba 100755
--- a/test/ral/type/resources.rb
+++ b/test/ral/type/resources.rb
@@ -66,7 +66,7 @@ class TestResources < Test::Unit::TestCase
assert_nothing_raised {
assert(res.check("A String"), "String failed check")
- assert(res.check(Puppet::Type.type(:file).new(:path => tempfile())), "File failed check")
+ assert(res.check(Puppet::Type.type(:file).new(:path => tempfile)), "File failed check")
assert(res.check(Puppet::Type.type(:user).new(:name => "yayness")), "User failed check in package")
}