diff options
-rw-r--r-- | test/toxbank-investigation-rest.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/toxbank-investigation-rest.rb b/test/toxbank-investigation-rest.rb index bc728f8..a8c8028 100644 --- a/test/toxbank-investigation-rest.rb +++ b/test/toxbank-investigation-rest.rb @@ -346,8 +346,8 @@ class TBInvestigationREST < MiniTest::Test # check that linked FTP file has mime_type def test_06b_check_ftpfiles_type - result = OpenTox::RestClientWrapper.get("#{@@uri}/isatab/JIC37_Ethanol_0.07_Internal_1_3.txt", {}, {:subjectid => $pi[:subjectid]}).split("\n") - assert_equal "text/plain", result.headers[:content_type] + result = OpenTox::RestClientWrapper.get("#{@@uri}/isatab/JIC37_Ethanol_0.07_Internal_1_3.txt", {}, {:subjectid => $pi[:subjectid]}) + assert_match "text/plain", result.headers[:content_type] end # get investigation/{id} |