summaryrefslogtreecommitdiff
path: root/test/compound.rb
blob: 914b645784fc5c3e2003729cc06d12c6e7fe143e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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