diff options
author | Steve Kemp <steve@steve.org.uk> | 2012-11-22 15:38:07 +0000 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2012-11-22 15:38:07 +0000 |
commit | 918d964adee64d0a14fc80797def1070c39061b3 (patch) | |
tree | 25662cfd3ca6e73855d16ef8937f0ba2ff97603e /lib/custodian/protocoltest/ftp.rb | |
parent | c3a3f054ada31db25db4194ecb4a17db7fdb1c47 (diff) |
Parse the configuration file into arrays of jobs, via our test-factory
Diffstat (limited to 'lib/custodian/protocoltest/ftp.rb')
-rw-r--r-- | lib/custodian/protocoltest/ftp.rb | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/lib/custodian/protocoltest/ftp.rb b/lib/custodian/protocoltest/ftp.rb index db05ac4..a816bfd 100644 --- a/lib/custodian/protocoltest/ftp.rb +++ b/lib/custodian/protocoltest/ftp.rb @@ -71,27 +71,17 @@ module Custodian # - # Helper for development. + # Allow this test to be serialized. # def to_s - "ftp-test of #{@host}:#{@port}." + @line end # - # Convert this class to JSON such that it may be serialized. - # - def to_json - hash = { :line => @line } - hash.to_json - end - - - - - # Run the TCP-protocol test. + # Run the test. # def run_test |