test/test_helper.rb in axtro-rubber-1.2.3 vs test/test_helper.rb in axtro-rubber-1.5.7
- old
+ new
@@ -4,5 +4,11 @@
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