Refactoring projects/views for RSpec v3 syntax

Refactor the rspec syntax for the projects/views and taking care of any deprecation warnings
PT story: https://www.pivotaltracker.com/story/show/76507548