summaryrefslogtreecommitdiff
path: root/test/descriptor.rb
diff options
context:
space:
mode:
authorrautenberg <rautenberg@in-silico.ch>2016-11-16 13:43:59 +0100
committerrautenberg <rautenberg@in-silico.ch>2016-11-16 13:43:59 +0100
commit43792e2322ded616c7eefb4b52083ba64e48e63c (patch)
tree0fa5eefa7a442e81ef06a5363b678bb7b59a1ab1 /test/descriptor.rb
parent600501cf0a87d41332a7b96f4dc35948bf0c651c (diff)
adapt code to lazar 1.0.0
Diffstat (limited to 'test/descriptor.rb')
-rw-r--r--test/descriptor.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/descriptor.rb b/test/descriptor.rb
index eae3ebf..db4b6c7 100644
--- a/test/descriptor.rb
+++ b/test/descriptor.rb
@@ -27,13 +27,13 @@ class DescriptorTest < MiniTest::Test
result = RestClientWrapper.get File.join($host, "compound/descriptor", bsonid), {}, {:accept => "application/json"}
json = JSON.parse(result)
assert_equal json["name"], "Openbabel.HBA1"
- assert_equal json["numeric"], true
+ assert_equal json["calculated"], true
end
def test_04_post_descriptor
result = RestClientWrapper.post File.join($host, "compound/descriptor"), {:identifier => "CC(=O)CC(C)C#N", :descriptor => "Joelib.LogP"}, {:accept => "application/csv"}
assert_equal result.code, 200
- assert_equal "SMILES,CC(=O)CC(C)C#N\n\"Joelib.LogP\",2.65908", result
+ assert_equal "SMILES,\"CC(=O)CC(C)C#N\"\n\"Joelib.LogP\",2.65908", result
end
# currently not applicable