mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
add rss links to anonymous homepages
This commit is contained in:
parent
cf3c4fd743
commit
c38ba8acdd
4 changed files with 25 additions and 2 deletions
|
@ -36,6 +36,20 @@ describe ListController do
|
|||
|
||||
end
|
||||
|
||||
describe 'RSS feeds' do
|
||||
|
||||
[:latest, :hot].each do |filter|
|
||||
|
||||
it 'renders RSS' do
|
||||
get "#{filter}_feed", format: :rss
|
||||
response.should be_success
|
||||
response.content_type.should == 'application/rss+xml'
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
context 'category' do
|
||||
|
||||
context 'in a category' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue