aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2014-07-19 17:35:12 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2014-07-19 17:35:12 -0300
commitfd6aaaa0c308b36df3bf06eb87b9eebfca1de127 (patch)
tree2a9d1ae1a381a18f09be544f891a0c267bc83aa9 /activesupport/lib/active_support
parentfcc2231a04a4911c4cccc05592d100bc280e142a (diff)
downloadrails-fd6aaaa0c308b36df3bf06eb87b9eebfca1de127.tar.gz
rails-fd6aaaa0c308b36df3bf06eb87b9eebfca1de127.tar.bz2
rails-fd6aaaa0c308b36df3bf06eb87b9eebfca1de127.zip
Stop requiring mocha automatically
We are planning to remove mocha from our test suite because of performance problems. To make this possible we should stop require mocha on ActionSupport::TestCase. This should not affect applications since users still need to add mocha to Gemfile and this already load mocha. Added FIXME notes to place that still need mocha removal
Diffstat (limited to 'activesupport/lib/active_support')
-rw-r--r--activesupport/lib/active_support/test_case.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/activesupport/lib/active_support/test_case.rb b/activesupport/lib/active_support/test_case.rb
index e6c125bfdd..751fdaef78 100644
--- a/activesupport/lib/active_support/test_case.rb
+++ b/activesupport/lib/active_support/test_case.rb
@@ -9,11 +9,6 @@ require 'active_support/testing/time_helpers'
require 'active_support/core_ext/kernel/reporting'
require 'active_support/deprecation'
-begin
- silence_warnings { require 'mocha/setup' }
-rescue LoadError
-end
-
module ActiveSupport
class TestCase < ::Minitest::Test
Assertion = Minitest::Assertion