Merge pull request #290 from alxndr/category-rss

RSS for topics in a category
This commit is contained in:
Robin Ward
2013-03-01 12:01:26 -08:00
11 changed files with 85 additions and 12 deletions

View File

@ -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