Sha256: d21b766caf580f58232e3b4931f705c2730047aee12aa302b82e56e4e4e5ba15

Contents?: true

Size: 297 Bytes

Versions: 33

Compression:

Stored size: 297 Bytes

Contents

require 'spec_helper'

unless RUBY_PLATFORM == 'opal'
  describe Volt::SocketWithTimeout do
    it 'should setup a connection manually and then specify a timeout' do
      allow_any_instance_of(Socket).to receive(:connect)

      Volt::SocketWithTimeout.new('google.com', 80, 10)
    end
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
volt-0.9.7.pre8 spec/server/message_bus/peer_to_peer/socket_with_timeout_spec.rb
volt-0.9.7.pre7 spec/server/message_bus/peer_to_peer/socket_with_timeout_spec.rb
volt-0.9.7.pre6 spec/server/message_bus/peer_to_peer/socket_with_timeout_spec.rb
volt-0.9.7.pre5 spec/server/message_bus/peer_to_peer/socket_with_timeout_spec.rb
volt-0.9.7.pre3 spec/server/message_bus/peer_to_peer/socket_with_timeout_spec.rb
volt-0.9.7.pre2 spec/server/message_bus/peer_to_peer/socket_with_timeout_spec.rb
volt-0.9.6 spec/server/message_bus/peer_to_peer/socket_with_timeout_spec.rb
volt-0.9.6.pre3 spec/server/message_bus/peer_to_peer/socket_with_timeout_spec.rb
volt-0.9.6.pre2 spec/server/message_bus/peer_to_peer/socket_with_timeout_spec.rb
volt-0.9.6.pre1 spec/server/message_bus/peer_to_peer/socket_with_timeout_spec.rb
volt-0.9.5 spec/server/message_bus/peer_to_peer/socket_with_timeout_spec.rb
volt-0.9.5.pre12 spec/server/message_bus/peer_to_peer/socket_with_timeout_spec.rb
volt-0.9.5.pre11 spec/server/message_bus/peer_to_peer/socket_with_timeout_spec.rb
volt-0.9.5.pre9 spec/server/message_bus/peer_to_peer/socket_with_timeout_spec.rb
volt-0.9.5.pre8 spec/server/message_bus/peer_to_peer/socket_with_timeout_spec.rb
volt-0.9.5.pre7 spec/server/message_bus/peer_to_peer/socket_with_timeout_spec.rb
volt-0.9.5.pre6 spec/server/message_bus/peer_to_peer/socket_with_timeout_spec.rb
volt-0.9.5.pre5 spec/server/message_bus/peer_to_peer/socket_with_timeout_spec.rb
volt-0.9.5.pre4 spec/server/message_bus/peer_to_peer/socket_with_timeout_spec.rb
volt-0.9.5.pre3 spec/server/message_bus/peer_to_peer/socket_with_timeout_spec.rb