Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed fetching podcasts from a callback #3098

Merged
merged 2 commits into from Jun 13, 2019

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 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
@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.

None yet

3 participants