Skip to content

Commit

Permalink
fix warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
senny committed Jun 2, 2016
1 parent b739cd0 commit 32c6a16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/viewer_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class ViewerTest < ActionDispatch::IntegrationTest
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

Expand Down

0 comments on commit 32c6a16

Please sign in to comment.