summaryrefslogtreecommitdiff
path: root/t/test-custodian-alertfactory.rb
diff options
context:
space:
mode:
Diffstat (limited to 't/test-custodian-alertfactory.rb')
-rwxr-xr-xt/test-custodian-alertfactory.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/test-custodian-alertfactory.rb b/t/test-custodian-alertfactory.rb
index f81a763..e12dbdd 100755
--- a/t/test-custodian-alertfactory.rb
+++ b/t/test-custodian-alertfactory.rb
@@ -30,7 +30,7 @@ class TestAlertFactory < Test::Unit::TestCase
#
# Ensure we can create each of the two alert types we care about
#
- methods = Array.new()
+ methods = []
methods.push( "file" )
methods.push( "smtp" )
@@ -94,7 +94,7 @@ class TestAlertFactory < Test::Unit::TestCase
obj = Custodian::AlertFactory.create( nil, nil )
end
assert_raise ArgumentError do
- obj = Custodian::AlertFactory.create( Array.new, nil )
+ obj = Custodian::AlertFactory.create( [], nil )
end
end