summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2017-12-29 14:56:51 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2017-12-29 14:56:51 +0000
commit7a556764ef16865c63ce0c334850416570ae8ae0 (patch)
treef847d8df96af75c93f57f3589874cf1c2c60eb65 /test
parentfca43b026eea2808bd8a1d9af845ca9f0f1ccf0a (diff)
downloadredmine-7a556764ef16865c63ce0c334850416570ae8ae0.tar.gz
redmine-7a556764ef16865c63ce0c334850416570ae8ae0.zip
use relative url at robots.txt (#27865)
git-svn-id: http://svn.redmine.org/redmine/trunk@17135 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/integration/welcome_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/integration/welcome_test.rb b/test/integration/welcome_test.rb
index 12ec92d0c..6b370e5d4 100644
--- a/test/integration/welcome_test.rb
+++ b/test/integration/welcome_test.rb
@@ -25,6 +25,7 @@ class WelcomeTest < Redmine::IntegrationTest
get '/robots.txt'
assert_response :success
assert_equal 'text/plain', @response.content_type
+ # It seems Redmine::Utils.relative_url_root does not effect on Rails 5.1.4
assert @response.body.match(%r{^Disallow: /projects/ecookbook/issues\r?$})
end
end