Refactor document views specs

https://www.pivotaltracker.com/story/show/73291456
Summary of changes: https://docs.google.com/document/d/13TNmNkD6__d-7TbnvkNUV8yvCY8bc_SGa6ewxewrciE/edit?usp=sharing
the deprecation warning is for inferring test types automatically. We can do it explicitly by specifying the test type in the file or in `spec_helper` explicitly say we want to infer from file locations. Both approaches are supported on RSpec 3.