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, 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