summaryrefslogtreecommitdiff
path: root/test/toxbank-investigation-rest.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/toxbank-investigation-rest.rb')
-rw-r--r--test/toxbank-investigation-rest.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/toxbank-investigation-rest.rb b/test/toxbank-investigation-rest.rb
index 0f2c7c5..e9943a8 100644
--- a/test/toxbank-investigation-rest.rb
+++ b/test/toxbank-investigation-rest.rb
@@ -152,6 +152,8 @@ class TBInvestigationREST < MiniTest::Test
RDF::Reader.for(:rdfxml).new(response.to_s){|r| r.each{|s| @g << s}}
assert @g.has_predicate?(RDF::DC.title), "Metadata Graph don't have predicate #{RDF::DC.title}"
@g.query(:predicate => RDF::DC.title){|r| assert_match /Growth control of the eukaryote cell: a systems biology study in yeast/, r[2].to_s}
+ # check subtask uri for raw data
+ assert @g.has_predicate?(RDF::ISA.hasSubTaskURI), "Metadata Graph don't have predicate #{RDF::ISA.hasSubTaskURI}"
end
# check that policy files not listed in uri-list