diff options
author | rautenberg <rautenberg@in-silico.ch> | 2014-01-07 19:32:06 +0100 |
---|---|---|
committer | rautenberg <rautenberg@in-silico.ch> | 2014-01-07 19:32:06 +0100 |
commit | a767ad22ebafc81eeb7e43b765e48a111f1dad37 (patch) | |
tree | efe82268e3f67d9f67868fbdcbc6b02e00653fda | |
parent | e0395e785adfa1e6b9d336d501b3bd75cf4857a2 (diff) |
test for linked FTP file
-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 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} |