diff options
author | gebele <gebele@in-silico.ch> | 2014-02-20 16:13:49 +0100 |
---|---|---|
committer | gebele <gebele@in-silico.ch> | 2014-02-20 16:13:49 +0100 |
commit | de634d8e29033427b6a7c5f1bf2064b914c1f2f0 (patch) | |
tree | 52a77dfba07a19b24b90a2928548a09ce933ac9a | |
parent | ca5fa7c5143a59d37e77bc303bd70b00227d5f31 (diff) |
updated assertion after template edit and isa2rdf -v 1.0.1
-rw-r--r-- | test/toxbank-investigation-sparql.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/toxbank-investigation-sparql.rb b/test/toxbank-investigation-sparql.rb index 89f550d..b6dd5d1 100644 --- a/test/toxbank-investigation-sparql.rb +++ b/test/toxbank-investigation-sparql.rb @@ -111,7 +111,7 @@ class TBSPARQLTest < MiniTest::Test response = OpenTox::RestClientWrapper.get "#{@@uri}/sparql/files_by_investigation", {}, {:accept => "application/json", :subjectid => $pi[:subjectid]} result = JSON.parse(response) files = result["results"]["bindings"].map{|n| "#{n["file"]["value"]}"} - assert_equal 180, files.size + assert_equal 181, files.size downloaduris = result["results"]["bindings"].map{|n| "#{n["downloaduri"]["value"]}"} assert_match /#{@@uri}\/files\/JIC37_Ethanol_0\.07_Internal_1_3\.txt/, downloaduris.to_s end |