Skip to content

Commit ebcf568

Browse files
committed
fix flakey test
1 parent 5b3087a commit ebcf568

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
Lines changed: 1 addition & 1 deletion
Loading

spec/image_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -945,7 +945,7 @@ def traverse node
945945
EOS
946946
(expect get_images pdf, 1).to be_empty
947947
(expect (pdf.page 1).text).to include 'See the logo in'
948-
end).to log_message severity: :WARN, message: %(problem encountered in image: #{fixture_file 'svg-with-missing-remote-image.svg'}; Error retrieving URL https://example.org/no-such-image.png: 404 Not Found)
948+
end).to log_message severity: :WARN, message: %(problem encountered in image: #{fixture_file 'svg-with-missing-remote-image.svg'}; Error retrieving URL https://github.com/no-such-image.png: 404 Not Found)
949949
end
950950

951951
it 'should warn if remote image is not a valid URL and allow-uri-read attribute is set', network: true do

0 commit comments

Comments
 (0)