…RubyForge, so I'm removing the gemspec and switching off gem building on GitHub.
…s to build HEAD.
…oth with and without minitest gem installed. I suspect things will break if you 'take over' Test::Unit with MiniUnit using the 'use_miniunit yes' command. MiniTestAdapterTest should not be run if MiniTest is not available, but it's worth a warning.
…ptance test for using MiniTest with Mocha. I removed the if/else logic so that you can use both Test::Unit or MiniTest TestCases with Mocha. I fixed a problem with the assertion counting in MiniTest. Currently this requires the MiniUnit gem to be installed and I have only tested it on Ruby 1.8.6 with MiniTest 1.3.0.
… and didn't match its file name.
…Array#flatten was being called which in turn was checking whether each element responded to #to_ary. This check was using the two parameter version of #respond_to?, but Mock was only defining a one parameter version.
…e return values not possible?'
…ings (as well as symbols) or fail fast. Convert all expectation method names to a symbol in case they were supplied as a string.
…hods vulnerable to the problem that surfaced in bug #21563.
…ed is only called once.
…od names on the Mock class should be more obscure.
…uby 1.9 we can simplify the implementation of all of the #method_exists? methods. These changes are also part of the speed improvements suggested by Chris McGrath.
… both symbols in Ruby 1.9, but strings in Ruby 1.8.
…idden_method is also a symbol rather than a string.
…uration is set to allow such checks to fail. This is a relatively quick fix in response to Chris McGrath's performance problems. In the long run I suspect there is some duplication here that could be refactored away.
…me' and '2 times'.
…errors. Fail fast when there are no matching invokable expectations and handle the stub_everything case sensibly. This might not be entirely backwards compatible, but I think the benefits outweigh the risks. The most likely change is that a test that was already failing will now fail faster, which doesn't seem so awful.