summaryrefslogtreecommitdiff
path: root/tests/white-box/soledad.rb
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2014-11-19 11:37:45 -0800
committerelijah <elijah@riseup.net>2014-11-19 11:37:45 -0800
commit6200be6fbf1f05665158e9ce8b218433f2440240 (patch)
tree4a2fc6b67c649fcba77da120b25025de82969160 /tests/white-box/soledad.rb
parent7521958cc6c210d65009aa87c6c7297fd9be3dd2 (diff)
test if soledad daemon is running
Diffstat (limited to 'tests/white-box/soledad.rb')
-rw-r--r--tests/white-box/soledad.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/white-box/soledad.rb b/tests/white-box/soledad.rb
new file mode 100644
index 00000000..5a13e4a6
--- /dev/null
+++ b/tests/white-box/soledad.rb
@@ -0,0 +1,17 @@
+raise SkipTest unless service?(:soledad)
+
+require 'json'
+
+class Soledad < LeapTest
+ depends_on "Network"
+ depends_on "CouchDB" if service?(:couchdb)
+
+ def setup
+ end
+
+ def test_00_Is_Soledad_running?
+ assert_running 'soledad'
+ pass
+ end
+
+end