seattlerb/minitest — pull request #162 by jhsu (2012-09-13 20:38:27+00:00)
Title: Define dynamic methods

* when something responds to a method, but is not defined (respond_to? is overwritten, ie rails)
it should define the method on the metaclass

This way we can stub calls to ActiveRecord's dynamic finder.

Example:

```ruby
User.stub(:find_by_username, User.new) do
# ...
end
```