test/test_helper.rb in sml-rubber-0.9.13 vs test/test_helper.rb in sml-rubber-1.5.5
- old
+ new
@@ -1,4 +1,14 @@
$:.unshift "#{File.dirname(__FILE__)}/../lib"
require 'rubber'
Rubber::initialize(File.dirname(__FILE__), 'test')
+
+require 'rubygems'
+require 'mocha'
+require 'pp'
+require 'fakeweb'
+FakeWeb.allow_net_connect = false
+
+def fakeweb_fixture(name)
+ return File.read("#{File.dirname(__FILE__)}/fixtures/fakeweb/#{name}")
+end
\ No newline at end of file