summaryrefslogtreecommitdiff
path: root/test/test_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_helper.rb')
-rw-r--r--test/test_helper.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/test_helper.rb b/test/test_helper.rb
index 9c51b87..2f753f6 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -1,12 +1,15 @@
require 'rack/test'
require 'stringio'
require 'tmpdir'
-
+require 'fakeweb'
require 'minitest/autorun'
require 'minitest/pride'
+require 'mocha/setup'
require_relative '../lib/dashing'
+FakeWeb.allow_net_connect = false
+
ENV['RACK_ENV'] = 'test'
WORKING_DIRECTORY = Dir.pwd.freeze
ARGV.clear