summaryrefslogtreecommitdiff
path: root/test/descriptor.rb
diff options
context:
space:
mode:
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