…er on rspec expect method
* As of minitest 3.3 the `add_setup_hook` (and friends) are deprecated. Ruby 1.9 ships with an older version of minitest from before the new hooks were added, so we only use the `before_setup` hook when it is available, falling back to the old hooks for older minitests.
We need to be able to let draper get a copy of the view_context no matter what happens. AC::Base doesn't really let us do that. So we have to monkeypatch. This was originally suggested in https://github.com/jcasimir/draper/issues/124#issuecomment-6954291 by @rf-. It appears to be the cleanest way to take care of this problem, and shouldn't affect any other things, since we keep the exact same semantics of view_context. Theoretically: Fixes #124 Fixes #109