summaryrefslogtreecommitdiff
path: root/worker/tests/ftp.rb
diff options
context:
space:
mode:
Diffstat (limited to 'worker/tests/ftp.rb')
-rwxr-xr-xworker/tests/ftp.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/worker/tests/ftp.rb b/worker/tests/ftp.rb
index c856c00..a25fe27 100755
--- a/worker/tests/ftp.rb
+++ b/worker/tests/ftp.rb
@@ -45,8 +45,8 @@ class FTPTest
#
# Get the hostname & port to test against.
#
- host = @test_data[:target_host]
- port = @test_data[:test_port]
+ host = @test_data["target_host"]
+ port = @test_data["test_port"]
puts "FTP testing host #{host}:#{port}"
@@ -103,10 +103,10 @@ if __FILE__ == $0 then
# Sample data.
#
test = {
- :target_host => "mirror.bytemark.co.uk",
- :test_type => "ftp",
- :test_port => 21,
- :test_alert => "The FTP server no worky",
+ "target_host" => "mirror.bytemark.co.uk",
+ "test_type" => "ftp",
+ "test_port" => 21,
+ "test_alert" => "The FTP server no worky",
}