summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorrautenberg <rautenberg@in-silico.ch>2015-10-30 10:24:26 +0100
committerrautenberg <rautenberg@in-silico.ch>2015-10-30 10:24:26 +0100
commitf8e58e6bc7f101dfe07509751f0943918f19a082 (patch)
tree486d38bde803ad642eaaec2e44a68b27c4166bb1 /test
parenta45b629f3e4aa68250f8e3157aa18cee3e2f020e (diff)
Test: add initial descriptor test
Diffstat (limited to 'test')
-rw-r--r--test/descriptor.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/descriptor.rb b/test/descriptor.rb
new file mode 100644
index 0000000..1a57766
--- /dev/null
+++ b/test/descriptor.rb
@@ -0,0 +1,15 @@
+require_relative "setup.rb"
+
+$host = "https://mr-test.in-silico.ch"
+
+
+class DescriptorTest < MiniTest::Test
+
+ def test_00_get_descriptors
+ res = RestClientWrapper.get File.join($host, "algorithm/descriptor"), {}, {:accept => "text/plain"}
+ assert_equal res.code, 200
+ assert res.include?("Joelib.KierShape1: no description available\nJoelib.KierShape2: no description available")
+ end
+
+
+end \ No newline at end of file