We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 099ea26 commit f81132fCopy full SHA for f81132f
spec/html-proofer/cli_spec.rb
@@ -216,7 +216,7 @@
216
it "has only one UA" do
217
http = make_bin(%|--typhoeus='{"verbose":true,"headers":{"User-Agent":"Mozilla/5.0 (Macintosh; My New User-Agent)"}}' --as-links https://linkedin.com|)
218
expect(http.scan("User-Agent: Typhoeus").count).to(eq(0))
219
- expect(http.scan(%r{User-Agent: Mozilla/5.0 \(Macintosh; My New User-Agent\)}i).count).to(eq(2))
+ expect(http.match(%r{User-Agent: Mozilla/5.0 \(Macintosh; My New User-Agent\)}i)).not_to(be_nil)
220
end
221
222
it "supports hydra" do
0 commit comments