Kevin Clark | 3eca078 | 2008-06-18 00:54:53 +0000 | [diff] [blame] | 1 | require 'rubygems' |
| 2 | require 'spec' |
| 3 | |
Kevin Clark | d47cd66 | 2008-06-18 01:05:17 +0000 | [diff] [blame] | 4 | # turn on deprecation so we can test it |
| 5 | module Thrift |
| 6 | DEPRECATION = true |
| 7 | end |
| 8 | |
Kevin Clark | 3eca078 | 2008-06-18 00:54:53 +0000 | [diff] [blame] | 9 | require File.dirname(__FILE__) + '/../lib/thrift' |
Kevin Clark | 0ff9e8c | 2008-06-18 01:05:03 +0000 | [diff] [blame] | 10 | |
| 11 | class Object |
| 12 | # tee is a useful method, so let's let our tests have it |
| 13 | def tee(&block) |
| 14 | block.call(self) |
| 15 | self |
| 16 | end |
| 17 | end |