Skip to content

Conversation

lightalloy
Copy link
Contributor

@lightalloy lightalloy commented Jun 10, 2019

What type of PR is this? (check all applicable)

  • Refactor

Description

  • removed an after_create callback for fetching podcast episodes
  • added fetching podcast episodes to the admin controller action
  • created request specs for podcast creating from /admin/podcasts/new
  • removed hacks that disable fetching podcasts while seeding and running tests

Creating a podcast and fetching episodes shouldn't be tightly coupled. We sometimes want to create a podcast without fetching episodes, e.g. for tests or for seeding the database.

Related Tickets & Documents

#2952

@lightalloy lightalloy force-pushed the refactor-fetch-podcasts branch from afcef02 to f580041 Compare June 10, 2019 13:29
@lightalloy lightalloy force-pushed the refactor-fetch-podcasts branch from f580041 to a9945fb Compare June 11, 2019 09:34
@lightalloy lightalloy changed the title [WIP] Removed fetching podcasts from a callback Removed fetching podcasts from a callback Jun 11, 2019
@pr-triage pr-triage bot added the PR: unreviewed bot applied label for PR's with no review label Jun 11, 2019
@lightalloy lightalloy requested review from rhymes and maestromac June 12, 2019 09:14
@pr-triage pr-triage bot added PR: reviewed-approved bot applied label for PR's where reviewer approves changes and removed PR: unreviewed bot applied label for PR's with no review labels Jun 12, 2019
@benhalpern benhalpern merged commit b630fca into forem:master Jun 13, 2019
@pr-triage pr-triage bot added PR: merged bot applied label for PR's that are merged and removed PR: reviewed-approved bot applied label for PR's where reviewer approves changes labels Jun 13, 2019
@lightalloy lightalloy deleted the refactor-fetch-podcasts branch June 14, 2019 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: merged bot applied label for PR's that are merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants