mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-03-26 10:45:04 -04:00
17 lines
454 B
Ruby
17 lines
454 B
Ruby
# frozen_string_literal: true
|
|
|
|
require 'rails_helper'
|
|
|
|
describe 'Seeds RSS feed' do
|
|
it 'The index feed exists' do
|
|
visit seeds_path(format: 'rss')
|
|
# expect(page.status_code).to equal 200
|
|
end
|
|
|
|
it 'The index title is what we expect' do
|
|
visit seeds_path(format: 'rss')
|
|
expect(page).to have_content "Recent seeds from " \
|
|
"#{@owner || 'all members'} (#{ENV.fetch('GROWSTUFF_SITE_NAME', nil)})"
|
|
end
|
|
end
|