@@ -65,6 +65,6 class WelcomeControllerTest < ActionController::TestCase | |||||
65 | get :robots |
|
65 | get :robots | |
66 | assert_response :success |
|
66 | assert_response :success | |
67 | assert_equal 'text/plain', @response.content_type |
|
67 | assert_equal 'text/plain', @response.content_type | |
68 | assert @response.body.match(%r{^Disallow: /projects/ecookbook/issues$}) |
|
68 | assert @response.body.match(%r{^Disallow: /projects/ecookbook/issues\r?$}) | |
69 | end |
|
69 | end | |
70 | end |
|
70 | end |
General Comments 0
You need to be logged in to leave comments.
Login now