We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5187dd commit 3bed6d1Copy full SHA for 3bed6d1
lib/tasks/podcasts.rake
@@ -11,7 +11,7 @@ namespace :podcasts do
11
logger.info('==== START podcasts:upsert ====')
12
13
ANCHOR_FM_RSS = Rails.env.test? ?
14
- 'anchorfm_sample.rss' :
+ Rails.root.join('spec', 'anchorfm_sample.rss').to_s :
15
'https://anchor.fm/s/54d501e8/podcast/rss'
16
rss = RSS::Parser.parse(ANCHOR_FM_RSS, false)
17
anchorfm_sample.rss spec/anchorfm_sample.rssanchorfm_sample.rss renamed to spec/anchorfm_sample.rss
0 commit comments