From f8e58e6bc7f101dfe07509751f0943918f19a082 Mon Sep 17 00:00:00 2001 From: rautenberg Date: Fri, 30 Oct 2015 10:24:26 +0100 Subject: Test: add initial descriptor test --- test/descriptor.rb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 test/descriptor.rb (limited to 'test') 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 -- cgit v1.2.3