Files
growstuff/spec/features/rss/members_spec.rb
Daniel O'Connor 81060cccf7 Ruby 3.2: Rubocop - Lint/* and Style/* (#3786)
* Rubocop - Layout/*
* Rubocop - Lint and Style
2024-07-13 15:38:37 +09:30

14 lines
351 B
Ruby

# frozen_string_literal: true
require 'rails_helper'
describe 'Members RSS feed' do
let(:member) { create(:member) }
before { visit member_path(member, format: 'rss') }
it 'The show action title is what we expect' do
expect(page).to have_content "#{member.login_name}'s recent posts (#{ENV.fetch('GROWSTUFF_SITE_NAME', nil)})"
end
end