blob: 0d4a64e374586cef01e0bebfff5cb62dfa7b6255 [file] [log] [blame]
require 'rubygems'
# require at least 1.1.4 to fix a bug with describing Modules
gem 'rspec', '>= 1.1.4'
require 'spec'
# pretend we already loaded fastthread, otherwise the nonblockingserver_spec
# will get screwed up
# $" << 'fastthread.bundle'
# turn on deprecation so we can test it
module Thrift
DEPRECATION = true
end
require File.dirname(__FILE__) + '/../lib/thrift'
class Object
# tee is a useful method, so let's let our tests have it
def tee(&block)
block.call(self)
self
end
end