mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-05-14 03:05:59 -04:00
Auto corrected by following Ruby Style/UnneededCondition
This commit is contained in:
committed by
Brenda Wallace
parent
ec22039fc1
commit
ebe7cc3868
@@ -9,6 +9,6 @@ feature 'Plantings RSS feed' do
|
||||
scenario 'The index title is what we expect' do
|
||||
visit plantings_path(format: 'rss')
|
||||
expect(page).to have_content "Recent plantings from "\
|
||||
"#{@owner ? @owner : 'all members'} (#{ENV['GROWSTUFF_SITE_NAME']})"
|
||||
"#{@owner || 'all members'} (#{ENV['GROWSTUFF_SITE_NAME']})"
|
||||
end
|
||||
end
|
||||
|
||||
@@ -9,6 +9,6 @@ feature 'Posts RSS feed' do
|
||||
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']})"
|
||||
"#{@author || 'all members'} (#{ENV['GROWSTUFF_SITE_NAME']})"
|
||||
end
|
||||
end
|
||||
|
||||
@@ -9,6 +9,6 @@ feature 'Seeds RSS feed' do
|
||||
scenario 'The index title is what we expect' do
|
||||
visit seeds_path(format: 'rss')
|
||||
expect(page).to have_content "Recent seeds from "\
|
||||
"#{@owner ? @owner : 'all members'} (#{ENV['GROWSTUFF_SITE_NAME']})"
|
||||
"#{@owner || 'all members'} (#{ENV['GROWSTUFF_SITE_NAME']})"
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user