rails/rails — pull request #10775 by senny (2013-05-28 07:22:47+00:00)
Title: test cleanup, replace `define_method` and `remove_method` with stubs.

This replaces manual definition and removal of a method with `stubs` from `mocha`.