diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/compound.rb | 14 |
1 files changed, 14 insertions, 0 deletions
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 |