Skip to content
Go to file
Cannot retrieve contributors at this time
11 lines (11 sloc) 503 Bytes
# Include Matchers for other test frameworks. Note that MiniTest _must_
# come before TU because on ruby 1.9, T::U::TC is a subclass of MT::U::TC
# and a 1.9 bug can lead to infinite recursion from the `super` call in our
# method_missing hook. See this gist for more info:
if defined?(MiniTest::Unit::TestCase)
MiniTest::Unit::TestCase.send(:include, RSpec::Matchers)
if defined?(Test::Unit::TestCase)
Test::Unit::TestCase.send(:include, RSpec::Matchers)
You can’t perform that action at this time.