mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 03:21:14 +08:00
Fix spec (#10539)
This commit is contained in:
@ -52,7 +52,7 @@ RSpec.describe RobotsTxtController do
|
||||
set_subfolder "/forum"
|
||||
|
||||
get '/robots.txt'
|
||||
expect(response.body).to include("\nDisallow: /forum/admin")
|
||||
expect(response.body).to include("\nDisallow: /forum/email/")
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user