From 8aed81c7390d0d997e7b30c9992eefcb863fcfe6 Mon Sep 17 00:00:00 2001 From: Jacob Herrington Date: Mon, 12 Apr 2021 10:30:59 -0500 Subject: [PATCH] Remove useless system spec (#13344) --- .../user_views_podcast_comments_spec.rb | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 spec/system/comments/user_views_podcast_comments_spec.rb diff --git a/spec/system/comments/user_views_podcast_comments_spec.rb b/spec/system/comments/user_views_podcast_comments_spec.rb deleted file mode 100644 index 30c71ca57..000000000 --- a/spec/system/comments/user_views_podcast_comments_spec.rb +++ /dev/null @@ -1,18 +0,0 @@ -require "rails_helper" - -RSpec.describe "viewing podcast comments", type: :system, js: true do - let(:user) { create(:user) } - let(:podcast) { create(:podcast, creator: user) } - let(:podcast_episode) { create(:podcast_episode, podcast: podcast) } - let(:comment) { create(:comment, commentable: podcast_episode, user: user) } - - before do - sign_in user - visit "/#{podcast.slug}/#{podcast_episode.slug}/comments" - end - - it "renders comment" do - # TODO: this spec is broken - expect(page).to have_content(comment.body_html) - end -end