summaryrefslogtreecommitdiffstats
path: root/test/ral/providers/provider.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ral/providers/provider.rb')
-rwxr-xr-xtest/ral/providers/provider.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ral/providers/provider.rb b/test/ral/providers/provider.rb
index 3ffbfd985..2ea08e068 100755
--- a/test/ral/providers/provider.rb
+++ b/test/ral/providers/provider.rb
@@ -185,7 +185,7 @@ class TestProvider < Test::Unit::TestCase
def test_outputonfailure
provider = newprovider
- dir = tstdir()
+ dir = tstdir
file = File.join(dir, "mycmd")
sh = Puppet::Util.binary("sh")
File.open(file, "w") { |f|
@@ -345,7 +345,7 @@ class TestProvider < Test::Unit::TestCase
assert_equal(:one, prov.name, "did not get name from hash")
assert_nothing_raised("Could not init with no argument") do
- prov = test.new()
+ prov = test.new
end
assert_raise(Puppet::DevError, "did not fail when no name is present") do