fix the rspec for views