Sha256: 01758108ab8d80ddbc413895db0e5969e6f633906103c90f0676868c66c7a8da

Contents?: true

Size: 329 Bytes

Versions: 10

Compression:

Stored size: 329 Bytes

Contents

require 'rubygems'
require 'rspec'

require 'rack/websocket'
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}

RSpec.configure do |config|
  config.mock_with :mocha
end

class TestApp < Rack::WebSocket::Application
end

TEST_PORT = 8081

def new_server_connection
  TCPSocket.new('localhost', TEST_PORT)
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
websocket-rack-noodles-0.4.3 spec/spec_helper.rb
websocket-rack-noodles-0.4.2 spec/spec_helper.rb
websocket-rack-noodles-0.4.1 spec/spec_helper.rb
websocket-rack-noodles-0.4.0 spec/spec_helper.rb
websocket-rack-0.4.0 spec/spec_helper.rb
websocket-rack-0.3.3 spec/spec_helper.rb
websocket-rack-0.3.2 spec/spec_helper.rb
websocket-rack-0.3.1 spec/spec_helper.rb
websocket-rack-0.3.0 spec/spec_helper.rb
websocket-rack-0.2.1 spec/spec_helper.rb