mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 23:49:34 +08:00
Merge pull request #290 from alxndr/category-rss
RSS for topics in a category
This commit is contained in:
@ -43,6 +43,14 @@ describe ListController do
|
||||
it { should respond_with(:success) }
|
||||
end
|
||||
|
||||
describe 'feed' do
|
||||
it 'renders RSS' do
|
||||
get :category_feed, category: category.slug, format: :rss
|
||||
response.should be_success
|
||||
response.content_type.should == 'application/rss+xml'
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
context 'uncategorized' do
|
||||
@ -59,8 +67,6 @@ describe ListController do
|
||||
|
||||
end
|
||||
|
||||
|
||||
|
||||
end
|
||||
|
||||
context 'favorited' do
|
||||
|
Reference in New Issue
Block a user