Stop requiring ActionView in shared tests

Only require in Rails-specific tests.