From de634d8e29033427b6a7c5f1bf2064b914c1f2f0 Mon Sep 17 00:00:00 2001 From: gebele Date: Thu, 20 Feb 2014 16:13:49 +0100 Subject: updated assertion after template edit and isa2rdf -v 1.0.1 --- test/toxbank-investigation-sparql.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3