From f69788a9172d0cfb6b7af14cb467e009f0fbff01 Mon Sep 17 00:00:00 2001 From: rautenberg Date: Mon, 19 Oct 2015 17:06:02 +0200 Subject: initial compound test --- test/compound.rb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 test/compound.rb diff --git a/test/compound.rb b/test/compound.rb new file mode 100644 index 0000000..914b645 --- /dev/null +++ b/test/compound.rb @@ -0,0 +1,14 @@ +require_relative "setup.rb" + +$compound_uri = "https://mr-test.in-silico.ch/compound" +$compound = ["1S/C6H6/c1-2-4-6-5-3-1/h1-6H"] + +class CompoundTest < MiniTest::Test + + def test_00_get_inchi + res = RestClientWrapper.get File.join($compound_uri, $compound[0]), {}, {:accept => "chemical/x-inchi"} + assert_equal res.code, 200 + + end + +end -- cgit v1.2.3