1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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:
595ce955c0

So we need to make sure we require what we really need where necessary.
This commit is contained in:
Carlos Antonio da Silva 2013-09-06 09:28:47 -03:00
parent faccffed19
commit b77781c012

View file

@ -1,5 +1,6 @@
# encoding: utf-8
require 'abstract_unit'
require 'minitest/mock'
class UrlHelperTest < ActiveSupport::TestCase