From 22fa8d86e8975458e887ca176097bfe7c4f5a28c Mon Sep 17 00:00:00 2001 From: gebele Date: Mon, 7 May 2012 17:06:45 +0200 Subject: added variable uri --- test/toxbank-investigation-rest.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3