Package: ruby-valid-email / 0.1.3-2~bpo10+1

Metadata

Package Version Patches format
ruby-valid-email 0.1.3-2~bpo10+1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
fix failing test.patch | (download)

spec/validate_email_spec.rb | 8 8 + 0 - 0 !
1 file changed, 8 insertions(+)

 [patch] [spec] mock mx resolution of example.org to nothing

Mock MX DNS query to return nothing

Now it returns

; <<>> DiG 9.10.6 <<>> mx example.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 29253
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1220
;; QUESTION SECTION:
;example.com.			IN	MX

;; ANSWER SECTION:
example.com.		86085	IN	MX	0 .

;; Query time: 359 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Mon Apr 13 16:11:11 EAT 2020
;; MSG SIZE  rcvd: 55