diff --git a/test/data/test_helper.rb b/test/data/test_helper.rb index 19aeee9..02df6c7 100644 --- a/test/data/test_helper.rb +++ b/test/data/test_helper.rb @@ -2,7 +2,7 @@ require 'minitest/autorun' require 'shoulda' require 'test_construct' -require 'mocha/mini_test' +require 'mocha/minitest' $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH.unshift(File.dirname(__FILE__)) diff --git a/test/test_helper.rb b/test/test_helper.rb index 3655b81..d4f3e19 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -3,7 +3,7 @@ require 'minitest/autorun' #require 'shoulda' require 'test_construct' -require 'mocha/mini_test' +require 'mocha/minitest' SimpleCov.start do add_filter 'specs/ruby/1.9.1/gems/' @@ -14,7 +14,7 @@ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH.unshift(File.dirname(__FILE__)) require 'churn/calculator' -Mocha::Configuration.prevent(:stubbing_non_existent_method) +# Mocha::Configuration.prevent(:stubbing_non_existent_method) class Minitest::Test include TestConstruct::Helpers