diff options
author | rautenberg <rautenberg@in-silico.ch> | 2015-10-19 17:06:02 +0200 |
---|---|---|
committer | rautenberg <rautenberg@in-silico.ch> | 2015-10-19 17:06:02 +0200 |
commit | f69788a9172d0cfb6b7af14cb467e009f0fbff01 (patch) | |
tree | 35cb0b11b7e46db9ace30212976c2c4d3bfb7e79 /test | |
parent | 501f382a3bcac1ecfc0c9790cf6da61736a2e63b (diff) |
initial compound test
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 |