Skip to content

A platform for community discussion. Free, open, simple.

DEV: Remove remnant puts (#34716)

Natalie Tay641ef5cd3061
diff --git a/plugins/discourse-lazy-videos/spec/lib/discourse_lazy_videos/crawler_post_end_spec.rb b/plugins/discourse-lazy-videos/spec/lib/discourse_lazy_videos/crawler_post_end_spec.rb
index 8e89a1544b8..8e4f34a7a5b 100644
--- a/plugins/discourse-lazy-videos/spec/lib/discourse_lazy_videos/crawler_post_end_spec.rb
+++ b/plugins/discourse-lazy-videos/spec/lib/discourse_lazy_videos/crawler_post_end_spec.rb
@@ -253,13 +253,6 @@ describe DiscourseLazyVideos::CrawlerPostEnd do
html = post_crawler_schema.html
- if html.empty?
- puts "Controller class: #{controller.class}"
- puts "Crawler post: #{controller.instance_variable_get(:@crawler_post)&.id}"
- puts "Topic view: #{controller.instance_variable_get(:@topic_view)}"
- puts "SiteSetting.lazy_videos_enabled: #{SiteSetting.lazy_videos_enabled}"
- end
-
expect(html).not_to be_empty
expect(html).to include('"description":')
parsed = JSON.parse(html.match(%r{<script[^>]*>(.*?)</script>}m)[1])