Improved spec

Moved `render_views` method to the correct position