diff options
author | gebele <gebele@in-silico.ch> | 2014-04-02 18:05:37 +0200 |
---|---|---|
committer | gebele <gebele@in-silico.ch> | 2014-04-02 18:05:37 +0200 |
commit | d0d21b4f103359002c41c8b4e84b1c82b4632553 (patch) | |
tree | 34c7a8126232c08c9805847b6fa4d35dcfbedfbd | |
parent | f65ba61b6d224bbfb73ca7ac04cdd0cef914dda7 (diff) |
test for subtask uri in metadata
-rw-r--r-- | test/toxbank-investigation-rest.rb | 2 |
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 |