summaryrefslogtreecommitdiffstats
path: root/test/functional/welcome_controller_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2017-07-23 11:26:04 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2017-07-23 11:26:04 +0000
commitd74f0bfd5c53962e332c2dd4d30dafaa1105b92b (patch)
treef3eaf66d67c3a87fb34340561bf188d364de623c /test/functional/welcome_controller_test.rb
parent41bb302594b48152b87c92f196c915f499093bbf (diff)
downloadredmine-d74f0bfd5c53962e332c2dd4d30dafaa1105b92b.tar.gz
redmine-d74f0bfd5c53962e332c2dd4d30dafaa1105b92b.zip
Merged rails-5.1 branch (#23630).
git-svn-id: http://svn.redmine.org/redmine/trunk@16859 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/welcome_controller_test.rb')
-rw-r--r--test/functional/welcome_controller_test.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/test/functional/welcome_controller_test.rb b/test/functional/welcome_controller_test.rb
index 710eb9ace..38533edac 100644
--- a/test/functional/welcome_controller_test.rb
+++ b/test/functional/welcome_controller_test.rb
@@ -77,13 +77,6 @@ class WelcomeControllerTest < Redmine::ControllerTest
end
end
- def test_robots
- get :robots
- assert_response :success
- assert_equal 'text/plain', @response.content_type
- assert @response.body.match(%r{^Disallow: /projects/ecookbook/issues\r?$})
- end
-
def test_warn_on_leaving_unsaved_turn_on
user = User.find(2)
user.pref.warn_on_leaving_unsaved = '1'