verify views are accesible to hooks
necessary for Rails4 tests in certain situations
isolating config correctly
use isolated config and switch a config before hook (proof of bug)
prepend method required for setup of views etc
Merge pull request #833 from rspec/verify_views_are_accessible_to_hooks

Cannot stub view methods in before blocks (undefined method `view_context' for nil:NilClass)