summaryrefslogtreecommitdiffstats
path: root/test/integration/welcome_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/welcome_test.rb')
-rw-r--r--test/integration/welcome_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/welcome_test.rb b/test/integration/welcome_test.rb
index cd4159d9a..5b9dcfbf0 100644
--- a/test/integration/welcome_test.rb
+++ b/test/integration/welcome_test.rb
@@ -26,7 +26,7 @@ class WelcomeTest < Redmine::IntegrationTest
def test_robots
get '/robots.txt'
assert_response :success
- assert_equal 'text/plain', @response.content_type
+ assert_equal 'text/plain', @response.media_type
# Redmine::Utils.relative_url_root does not effect on Rails 5.1.4.
assert @response.body.match(%r{^Disallow: /projects/ecookbook/issues\r?$})
end