Skip to content

Commit

Permalink
Fix test that relies on external host
Browse files Browse the repository at this point in the history
It looks like towel.blinkenlights.nl is no more.
  • Loading branch information
sionide21 committed Feb 28, 2023
1 parent 8236180 commit af6a3f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/tcr_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -467,12 +467,12 @@

it "replaces sockets created with Socket.tcp" do
TCR.configure { |c|
c.hook_tcp_ports = [23]
c.hook_tcp_ports = [80]
c.cassette_library_dir = "."
}

TCR.use_cassette("test") do
sock = Socket.tcp("towel.blinkenlights.nl", 23)
sock = Socket.tcp("google.com", 80)
expect(sock).to be_a(TCR::RecordableTCPSocket)
end
end
Expand Down

0 comments on commit af6a3f0

Please sign in to comment.