mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-08 11:13:55 +00:00
356f861420
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668954 13f79535-47bb-0310-9956-ffa450edef68
20 lines
382 B
Ruby
20 lines
382 B
Ruby
require 'rubygems'
|
|
# require at least 1.1.4 to fix a bug with describing Modules
|
|
gem 'rspec', '>= 1.1.4'
|
|
require 'spec'
|
|
|
|
# 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
|