test/test_helper.rb in erwaller-twitter-0.6.13.1 vs test/test_helper.rb in erwaller-twitter-0.6.15
- old
+ new
@@ -1,16 +1,22 @@
-require 'rubygems'
require 'test/unit'
+require 'pathname'
+require 'rubygems'
+
+gem 'thoughtbot-shoulda', '>= 2.10.1'
+gem 'jnunemaker-matchy', '0.4.0'
+gem 'mocha', '0.9.4'
+gem 'fakeweb', '>= 1.2.5'
+
require 'shoulda'
require 'matchy'
require 'mocha'
require 'fakeweb'
FakeWeb.allow_net_connect = false
-$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
-$LOAD_PATH.unshift(File.dirname(__FILE__))
-require 'twitter'
+dir = (Pathname(__FILE__).dirname + '../lib').expand_path
+require dir + 'twitter'
class Test::Unit::TestCase
end
def fixture_file(filename)