We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bcba7b6 + 419fa01 commit 1404ff1Copy full SHA for 1404ff1
spec/dns_spec.rb
@@ -7,7 +7,7 @@
7
http = EventMachine::HttpRequest.new('http://127.0.0.1:8090/redirect/badhost', :connect_timeout => 0.1).get :redirects => 1
8
http.callback { failed(http) }
9
http.errback {
10
- http.error.should match('unable to resolve server address')
+ http.error.should match(/unable to resolve (server |)address/)
11
EventMachine.stop
12
}
13
@@ -31,7 +31,7 @@
31
http = EventMachine::HttpRequest.new('http://somethinglocal/', :connect_timeout => 0.1).get
32
33
34
- http.error.should match(/unable to resolve server address/)
35
http.response_header.status.should == 0
36
37
0 commit comments