Backport fix for ActionView load order and URL helpers

Version 5 of this gem requires Rails 4.1, but the bug that this
patch is addressing also occurs in Rails 4.0.

See issue 42 in @metaskills/minitest-spec-rails:
https://github.com/metaskills/minitest-spec-rails/issues/42