Heat 1 tablespoon oil in a large skillet over medium-high heat. Add gnocchi and cook, stirring often, until it is plumped and starting to brown; about 5-7 minutes. Place cooked gnocchi in a large bowl.
Add 1 teaspoon of oil and onion to the pan and cook for 2 minutes. Stir in garlic and water. Cook until onion is cooked.
Add spinach and cook by stirring until spinach begins to wilt
Stir in tomatoes, beans, and simmer. Add gnocchi and sprinkle with both cheeses.
Cook until cheese is melted and sauce is bubbling; about 3 minutes.