test/test_helper.rb in messenger-0.1.1 vs test/test_helper.rb in messenger-0.2.0
- old
+ new
@@ -1,6 +1,11 @@
-require "#{File.dirname(__FILE__)}/../lib/messenger"
+require "messenger"
require 'test/unit'
require 'shoulda'
require 'mocha'
+require 'webmock/test_unit'
+
+class Test::Unit::TestCase
+ include WebMock
+end
Dir["#{File.dirname(__FILE__)}/shoulda_macros/*.rb"].each {|file| require file }