Sha256: f1c81df3276c10651bf6fd9e59090e89ad3f4d9ea81319267b2c86a1ce236e51
Contents?: true
Size: 373 Bytes
Versions: 3
Compression:
Stored size: 373 Bytes
Contents
$LOAD_PATH.unshift File.dirname(__FILE__) $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) require 'rspec' require 'cool.io' def unused_port s = TCPServer.open(0) port = s.addr[1] s.close port end RSpec.configure do |c| if RUBY_PLATFORM =~ /mingw|win32/ $stderr.puts "Skip some specs on Windows" c.filter_run_excluding :env => :win end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
cool.io-1.2.3-x86-mingw32 | spec/spec_helper.rb |
cool.io-1.2.3 | spec/spec_helper.rb |
cool.io-1.2.2 | spec/spec_helper.rb |