Fix error on category.index page and comments unnecessary rspec test