summaryrefslogtreecommitdiff
path: root/spec/ruby/library/socket/ipsocket/getaddress_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/socket/ipsocket/getaddress_spec.rb')
-rw-r--r--spec/ruby/library/socket/ipsocket/getaddress_spec.rb10
1 files changed, 4 insertions, 6 deletions
diff --git a/spec/ruby/library/socket/ipsocket/getaddress_spec.rb b/spec/ruby/library/socket/ipsocket/getaddress_spec.rb
index 2ee35af5b56..8e14707d4f3 100644
--- a/spec/ruby/library/socket/ipsocket/getaddress_spec.rb
+++ b/spec/ruby/library/socket/ipsocket/getaddress_spec.rb
@@ -17,11 +17,9 @@ describe "Socket::IPSocket#getaddress" do
# There is no way to make this fail-proof on all machines, because
# DNS servers like opendns return A records for ANY host, including
# traditionally invalidly named ones.
- quarantine! do
- it "raises an error on unknown hostnames" do
- lambda {
- IPSocket.getaddress("rubyspecdoesntexist.fallingsnow.net")
- }.should raise_error(SocketError)
- end
+ it "raises an error on unknown hostnames" do
+ lambda {
+ IPSocket.getaddress("rubyspecdoesntexist.fallingsnow.net")
+ }.should raise_error(SocketError)
end
end