mirror of
https://github.com/discourse/discourse.git
synced 2025-03-23 23:45: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"
|
set_subfolder "/forum"
|
||||||
|
|
||||||
get '/robots.txt'
|
get '/robots.txt'
|
||||||
expect(response.body).to include("\nDisallow: /forum/admin")
|
expect(response.body).to include("\nDisallow: /forum/email/")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user