diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-07-19 17:35:12 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-07-19 17:35:12 -0300 |
commit | fd6aaaa0c308b36df3bf06eb87b9eebfca1de127 (patch) | |
tree | 2a9d1ae1a381a18f09be544f891a0c267bc83aa9 /activemodel/test | |
parent | fcc2231a04a4911c4cccc05592d100bc280e142a (diff) | |
download | rails-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 'activemodel/test')
-rw-r--r-- | activemodel/test/cases/helper.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activemodel/test/cases/helper.rb b/activemodel/test/cases/helper.rb index 522a7cebb4..804e0c24f6 100644 --- a/activemodel/test/cases/helper.rb +++ b/activemodel/test/cases/helper.rb @@ -11,3 +11,5 @@ ActiveSupport::Deprecation.debug = true I18n.enforce_available_locales = false require 'active_support/testing/autorun' + +require 'mocha/setup' # FIXME: stop using mocha |