summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgebele <gebele@in-silico.ch>2013-11-25 13:17:50 +0100
committergebele <gebele@in-silico.ch>2013-11-25 13:17:50 +0100
commit610e5856368d4a241f8dcf5bf72add509162be42 (patch)
treef339ccf29669271cde2375ee0a995fcc84158652
parent5d1a3c938a4f96415f0996301f0a5c2446bc047b (diff)
check helper files not in uri-list
-rw-r--r--test/toxbank-investigation-rest.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/toxbank-investigation-rest.rb b/test/toxbank-investigation-rest.rb
index 7fbc84f..17035f5 100644
--- a/test/toxbank-investigation-rest.rb
+++ b/test/toxbank-investigation-rest.rb
@@ -127,10 +127,12 @@ class TBInvestigationREST < MiniTest::Test
@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}
end
- # check that policy files not listed in uri-list
+ # check that policy files not listed in uri-list
+ # check that log, modified, published, searchable helper files not listed in uri-list
def test_02a_check_policy_file_not_listed
result = OpenTox::RestClientWrapper.get("#{@@uri}", {}, {:accept => "text/uri-list", :subjectid => $pi[:subjectid]}).split("\n")
assert result.grep(/user_policies/).size == 0
+ assert result.grep(/log|modified|published|searchable/i).size == 0
end
# check for uri-list as text/uri-list