mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-02-04 22:51:04 -05:00
13 lines
399 B
Ruby
13 lines
399 B
Ruby
require 'spec_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 ? @author : 'all members' } (#{ENV['GROWSTUFF_SITE_NAME']})"
|
|
end
|
|
end |