diff options
Diffstat (limited to 'test/toxbank-investigation-sparql.rb')
-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 |