mirror of
https://github.com/redmine/redmine.git
synced 2025-11-18 03:00:52 +01:00
Merged rails-5.1 branch (#23630).
git-svn-id: http://svn.redmine.org/redmine/trunk@16859 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user