refactoring rspec for api_comments