mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-01-30 20:20:59 -05:00
15 lines
394 B
Ruby
15 lines
394 B
Ruby
require 'rails_helper'
|
|
|
|
feature 'Posts RSS feed' do
|
|
scenario 'The index feed exists' do
|
|
visit posts_path(format: 'rss')
|
|
expect(page.status_code).to equal 200
|
|
end
|
|
|
|
scenario 'The index title is what we expect' do
|
|
visit posts_path(format: 'rss')
|
|
expect(page).to have_content "Recent posts from "\
|
|
"#{@author || 'all members'} (#{ENV['GROWSTUFF_SITE_NAME']})"
|
|
end
|
|
end
|