title: Laravel how to stub view rendering
body: <p>I'm trying to do controller testing with laravel 4.1 without touching the database. So im using the repository pattern and I mock the repositories and make them return dummy model objetcs/dummy model collections.</p>
  
  <p>The problem is, the view is trying to use the models relationships etc... And it fails because relationships can't work as the database is empty.</p>
  
  <p>Is there a way to bypass the view rendering as rails do ?</p>