mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
RSS for topics in a category
Creates a new route for category RSS
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