From a767ad22ebafc81eeb7e43b765e48a111f1dad37 Mon Sep 17 00:00:00 2001 From: rautenberg Date: Tue, 7 Jan 2014 19:32:06 +0100 Subject: test for linked FTP file --- 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 cbfab35..edbf2a9 100644 --- a/test/toxbank-investigation-rest.rb +++ b/test/toxbank-investigation-rest.rb @@ -341,7 +341,7 @@ class TBInvestigationREST < MiniTest::Test # check that linked FTP file is listed in uri-list def test_06a_check_ftpfiles result = OpenTox::RestClientWrapper.get("#{@@uri}", {}, {:accept => "text/uri-list", :subjectid => $pi[:subjectid]}).split("\n") - assert_match "#{@@uri}/isatab/JIC37_Ethanol_0.07_Internal_1_3.txt", result + assert_match "#{@@uri}/isatab/JIC37_Ethanol_0.07_Internal_1_3.txt", result.to_s end # get investigation/{id} -- cgit v1.2.3