mirror of
https://github.com/discourse/discourse.git
synced 2025-05-25 00:32:52 +08:00
add rss links to anonymous homepages
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user