Skip to content

Commit

Permalink
fix spec
Browse files Browse the repository at this point in the history
  • Loading branch information
mcfiredrill committed Oct 27, 2023
1 parent 107a4ad commit 7b5ccef
Show file tree
Hide file tree
Showing 3 changed files with 86,291 additions and 25 deletions.
2 changes: 1 addition & 1 deletion app/models/scheduled_show.rb
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ def end_at_cannot_be_before_start_at
def maybe_add_to_default_playlist
if self.archive_published?
self.tracks.each do |t|
unless self.radio.default_playlist.tracks.includes? t
unless self.radio.default_playlist.tracks.include? t
self.radio.default_playlist.tracks << t
end
end
Expand Down
Loading

0 comments on commit 7b5ccef

Please sign in to comment.