more fixes to allow rendering views in specs
move integrate_views to spec_helper