diff options
Diffstat (limited to 'worker/tests/http.rb')
-rwxr-xr-x | worker/tests/http.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/worker/tests/http.rb b/worker/tests/http.rb index f1b5843..4f2cf0b 100755 --- a/worker/tests/http.rb +++ b/worker/tests/http.rb @@ -42,6 +42,16 @@ class HTTPTest @error = "" + + # + # Ensure we had a URL + # + if ( @test_data[:target_host].nil? ) + @error = "Missing URL for the test" + return false + end + + # # Do the fetch, if this success then we'll have the # @status + @text setup |