summaryrefslogtreecommitdiff
path: root/t/test-http-vs-https.rb
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2015-02-17 20:50:38 +0000
committerSteve Kemp <steve@steve.org.uk>2015-02-17 20:50:38 +0000
commitc8c062ff91a5ab89395b32138ab78dd31d137eb6 (patch)
tree31305c1d1739a25cead5b3f13b93a31767777097 /t/test-http-vs-https.rb
parent433c8f18a4341844f8cf755146e389b0d61b7a6f (diff)
Updated for new test-type API.
Now that the class-factory returns an Array, we've updated the test-cases to continue to pass.
Diffstat (limited to 't/test-http-vs-https.rb')
-rwxr-xr-xt/test-http-vs-https.rb8
1 files changed, 6 insertions, 2 deletions
diff --git a/t/test-http-vs-https.rb b/t/test-http-vs-https.rb
index 8ad5aea..b320777 100755
--- a/t/test-http-vs-https.rb
+++ b/t/test-http-vs-https.rb
@@ -46,7 +46,9 @@ class TestTestName < Test::Unit::TestCase
end
assert( test )
- assert_equal( test.get_type, "http" )
+ assert( test.kind_of? Array )
+ assert( ! test.empty? )
+ assert_equal( test[0].get_type, "http" )
end
@@ -61,7 +63,9 @@ class TestTestName < Test::Unit::TestCase
end
assert( test )
- assert_equal( test.get_type, "https" )
+ assert( test.kind_of? Array )
+ assert( ! test.empty? )
+ assert_equal( test[0].get_type, "https" )
end