From ef8ec3c603fe92ffce0bf89ed1bfdd418d10d16a Mon Sep 17 00:00:00 2001 From: Brenda Wallace Date: Fri, 20 Dec 2019 16:21:23 +1300 Subject: [PATCH] Reindex plantings in spec --- spec/features/rss/plantings_spec.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/features/rss/plantings_spec.rb b/spec/features/rss/plantings_spec.rb index 7a6e31b95..8e44494cb 100644 --- a/spec/features/rss/plantings_spec.rb +++ b/spec/features/rss/plantings_spec.rb @@ -7,6 +7,7 @@ describe 'Plantings RSS feed' do end it 'The index title is what we expect' do + Planting.reindex visit plantings_path(format: 'rss') expect(page).to have_content "Recent plantings from "\ "#{@owner || 'all members'} (#{ENV['GROWSTUFF_SITE_NAME']})"