mirror of
https://github.com/discourse/discourse.git
synced 2025-03-23 01:35:42 +08:00
Fix spec (#10539)
This commit is contained in:
parent
1e6d125db6
commit
b12afa9435
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user