simplify hash in products controller spec