diff options
author | rautenberg <rautenberg@in-silico.ch> | 2015-10-30 10:24:26 +0100 |
---|---|---|
committer | rautenberg <rautenberg@in-silico.ch> | 2015-10-30 10:24:26 +0100 |
commit | f8e58e6bc7f101dfe07509751f0943918f19a082 (patch) | |
tree | 486d38bde803ad642eaaec2e44a68b27c4166bb1 | |
parent | a45b629f3e4aa68250f8e3157aa18cee3e2f020e (diff) |
Test: add initial descriptor test
-rw-r--r-- | test/descriptor.rb | 15 |
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 |