diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-09-06 09:28:47 -0300 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-09-06 09:29:00 -0300 |
commit | b77781c012ebb60bfeee114aef6597ab8d3d3016 (patch) | |
tree | ec08d2f785545d4cf46999fa8df27c66f29f22ec /activerecord/test/cases | |
parent | faccffed194a895a64f2e90e2a31b54b66b7d986 (diff) | |
download | rails-b77781c012ebb60bfeee114aef6597ab8d3d3016.tar.gz rails-b77781c012ebb60bfeee114aef6597ab8d3d3016.tar.bz2 rails-b77781c012ebb60bfeee114aef6597ab8d3d3016.zip |
Fix failure with minitest 5.0.7
Require minitest/mock in test where stub method is needed.
Apparently this was being "imported" by minitest pride plugin, which
previously required "minitest/autorun", that required "minitest/mock",
making the method available by chance.
It has been changed in minitest:
https://github.com/seattlerb/minitest/commit/595ce955c0d89575726d10fc18d2afd8f334bcbe
So we need to make sure we require what we really need where necessary.
Diffstat (limited to 'activerecord/test/cases')
0 files changed, 0 insertions, 0 deletions