From 5531f70f465f4fdd4811da3dc67712ac14eb1ebb Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Fri, 5 Jun 2015 16:51:41 +0200 Subject: [PATCH] Fixed ftp ref urls. --- test/integration/user_agent_test.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/integration/user_agent_test.rb b/test/integration/user_agent_test.rb index bb40ca000..47b8cd425 100644 --- a/test/integration/user_agent_test.rb +++ b/test/integration/user_agent_test.rb @@ -297,17 +297,17 @@ class UserAgentTest < ActiveSupport::TestCase # ftp / 200 result = UserAgent.request( - 'ftp://ftp.gwdg.de/msgs/banner.msg', + 'ftp://root.cern.ch/pub/README-root-build.txt', ) assert(result) assert_equal(true, result.success?) assert_equal('200', result.code) assert_equal(String, result.body.class) - assert(result.body =~ /Gesellschaft/i) + assert(result.body =~ /instructions/i) # ftp / 401 result = UserAgent.request( - 'ftp://ftp.gwdg.de/msgs/not_existing.msg', + 'ftp://root.cern.ch/pub/not_existing.msg', ) assert(result) assert_equal(false, result.success?)