summaryrefslogtreecommitdiff
path: root/tests/white-box/webapp.rb
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2014-06-22 13:42:04 -0700
committerelijah <elijah@riseup.net>2014-06-22 13:42:04 -0700
commitc20aa4f8c35a4cba982de92105da2566ecdfa1ae (patch)
tree98721d13231bd50925865b25975e0c8371529d38 /tests/white-box/webapp.rb
parent897815dc5a3a058b3210b76eb74a3dfae9b9165c (diff)
run_tests: allow for https in assert_get()
Diffstat (limited to 'tests/white-box/webapp.rb')
-rw-r--r--tests/white-box/webapp.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/white-box/webapp.rb b/tests/white-box/webapp.rb
index 142ac2de..05b86a41 100644
--- a/tests/white-box/webapp.rb
+++ b/tests/white-box/webapp.rb
@@ -60,4 +60,13 @@ class Webapp < LeapTest
pass
end
+ #
+ # this is technically a black-box test. so, move this when we have support
+ # for black box tests.
+ #
+ def test_04_Can_access_webapp?
+ assert_get('https://' + $node['webapp']['domain'] + '/')
+ pass
+ end
+
end