test/integration/viewer_test.rb in pdfjs_viewer-rails-0.0.7 vs test/integration/viewer_test.rb in pdfjs_viewer-rails-0.0.8
- old
+ new
@@ -39,10 +39,10 @@
end
private
def assert_rendered_pdf(output, screenshot:)
puts output.scan(/Warning:.+$/)
- assert_match /PDF d6ea82b9661e58030e99729d198a353a/, output
+ assert_match(/PDF d6ea82b9661e58030e99729d198a353a/, output)
page.save_screenshot screenshot, full: true
end
def capture(stream)
stream = stream.to_s