diff options
author | gebele <gebele@in-silico.ch> | 2012-05-07 17:06:45 +0200 |
---|---|---|
committer | gebele <gebele@in-silico.ch> | 2012-05-07 17:06:45 +0200 |
commit | 22fa8d86e8975458e887ca176097bfe7c4f5a28c (patch) | |
tree | 4944842b4f168be0e91c64c21dd908db13dc6d2d | |
parent | 6596ff877e655433ff42d9c1c785bb4c71eb244a (diff) |
added variable uri
-rw-r--r-- | test/toxbank-investigation-rest.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/toxbank-investigation-rest.rb b/test/toxbank-investigation-rest.rb index a269216..5421972 100644 --- a/test/toxbank-investigation-rest.rb +++ b/test/toxbank-investigation-rest.rb @@ -44,7 +44,7 @@ class BasicTestCRUDInvestigation < Test::Unit::TestCase @@uri = URI(uri) assert @@uri.host == URI($toxbank_investigation[:uri]).host # check_rdf - response = `curl -i -k -H subjectid:#{@@subjectid} -H accept:application/rdf+xml #{$toxbank_investigation[:uri]}/0`.chomp + response = `curl -i -k -H subjectid:#{@@subjectid} -H accept:application/rdf+xml #{uri}`.chomp assert_match /[Term Source Name, OBI, DOID, BTO, NEWT, UO, CHEBI, PATO, TBP, TBC, TBO, TBU, TBK]/, response assert_match /[Investigation Identifier, BII\-I\-1]/, response assert_match /[Investigation Title, Growth control of the eukaryote cell\: a systems biology study in yeast]/, response |