diff options
-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 |