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 | 8cd8125b071f4a0be8ec05d40471da6821067b07 (patch) | |
tree | 25662cfd3ca6e73855d16ef8937f0ba2ff97603e /lib/custodian/protocoltest/ping.rb | |
parent | 56bb4da159266f5b10d9787a7b9eacf788001d0c (diff) |
Parse the configuration file into arrays of jobs, via our test-factory
Diffstat (limited to 'lib/custodian/protocoltest/ping.rb')
-rw-r--r-- | lib/custodian/protocoltest/ping.rb | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/lib/custodian/protocoltest/ping.rb b/lib/custodian/protocoltest/ping.rb index 173f4f4..c13c17c 100644 --- a/lib/custodian/protocoltest/ping.rb +++ b/lib/custodian/protocoltest/ping.rb @@ -52,21 +52,10 @@ module Custodian # - # Helper for development. + # Allow this test to be serialized. # def to_s - "ping-test - #{@host}." - end - - - - - # - # Convert this class to JSON such that it may be serialized. - # - def to_json - hash = { :line => @line } - hash.to_json + @line end |